REST API added in Packet stats app

Packet Stats API manual cherry pick

Change-Id: I09293aefef9e1b17359e02f4b703808f10b8fb19
diff --git a/apps/packet-stats/BUILD b/apps/packet-stats/BUILD
index 4019f9b..3223454 100644
--- a/apps/packet-stats/BUILD
+++ b/apps/packet-stats/BUILD
@@ -1,15 +1,13 @@
-COMPILE_DEPS = CORE_DEPS + JACKSON + METRICS + CLI + [
-    "//core/store/serializers:onos-core-serializers",
-    "//core/store/primitives:onos-core-primitives",
+BUNDLES = [
+    "//apps/packet-stats/web:onos-apps-packet-stats-web",
+    "//apps/packet-stats/app:onos-apps-packet-stats-app",
 ]
 
-osgi_jar_with_tests(
-    deps = COMPILE_DEPS,
-)
-
 onos_app(
-    category = "Traffic Engineering",
-    description = "Application to calculate the number of packets of different types",
+    app_name = "org.onosproject.packet-stats",
+    category = "Utility",
+    description = " Application to calculate the number of packets of different types",
+    included_bundles = BUNDLES,
     title = "Packet Statistics",
     url = "http://onosproject.org",
 )