Add support for tags

Goldfish is getting ready to release base-images that expose https
endpoints. This means that we need to configure the firewall to allow
https to go through.

Opening up the firewall is done by setting tags on the instance, these
tags can be provided from the command line. For example:

$ acloud create_gf --tags http-server https-server ....

Will create an instance with the firewall opened for http and https.

Includes fixes to properly run unit-test that can be run from setup.py.

Change-Id: I8344c21c22f0d2760fc73529df0810a70797c08a
diff --git a/public/acloud_main.py b/public/acloud_main.py
index c960276..935e3f1 100644
--- a/public/acloud_main.py
+++ b/public/acloud_main.py
@@ -206,6 +206,13 @@
         help="Name of the goldfish base image to be used to create the instance. "
         "This will override stable_goldfish_host_image_name from config. "
         "e.g. emu-dev-cts-061118")
+    create_gf_parser.add_argument(
+        "--tags",
+        dest="tags",
+        nargs="*",
+        required=False,
+        default=None,
+        help="Tags to be set on to the created instance. e.g. https-server.")
 
     create_args.AddCommonCreateArgs(create_gf_parser)
     subparser_list.append(create_gf_parser)
@@ -384,6 +391,7 @@
             logcat_file=args.logcat_file,
             autoconnect=args.autoconnect,
             branch=args.branch,
+            tags=args.tags,
             report_internal_ip=args.report_internal_ip)
     elif args.which == delete_args.CMD_DELETE:
         report = delete.Run(args)