Sketching out packaging via Bazel

- modified onos-gen-lib to generate http_file properly
- fixed deps.json entries for apache-karaf & patches .tar.gz files
- sketching tools/package/BUILD file

Change-Id: I311d66095e8d744b8f61a2f3b53a635a2a42732e
diff --git a/BUILD b/BUILD
index 5934e06..03d2993 100644
--- a/BUILD
+++ b/BUILD
@@ -300,20 +300,14 @@
 APPS = ONOS_DRIVERS + ONOS_PROVIDERS + ONOS_APPS + MODELS + PIPELINES + \
        PROTOCOL_APPS
 
-FEATURES = [
-    '//features:onos-thirdparty-base',
-    '//features:onos-thirdparty-web',
-    '//features:onos-api',
-    '//features:onos-core',
-#    '//features:onos-incubator',
-#    '//features:onos-rest',
-#    '//features:onos-gui',
-#    '//features:onos-gui2',
-#    '//features:onos-cli',
-#    '//features:onos-security',
- ]
+PACKAGES = [
+    "//tools/package:onos-karaf",
+#    "//tools/package:onos-package",
+#    "//tools/package:onos-admin-tools",
+#    "//tools/package:onos-test-tools",
+]
 
 filegroup(
     name = "onos",
-    srcs = CORE + APPS + FEATURES,
+    srcs = CORE + APPS + PACKAGES,
 )