XMPP as SBI support: implementation of core XMPP and Xmpp Device Provider

State machine handled by XmppSession interface, most of tests implemented

XmppDeviceFactory re-designed, tests updated

pom and BUCK files updated

Change-Id: I4c6955e091169c945415084cbb000c61b474c0fc
diff --git a/protocols/xmpp/core/BUCK b/protocols/xmpp/core/BUCK
new file mode 100644
index 0000000..97af973
--- /dev/null
+++ b/protocols/xmpp/core/BUCK
@@ -0,0 +1,23 @@
+BUNDLES = [
+    '//protocols/xmpp/core/api:onos-protocols-xmpp-core-api',
+    '//protocols/xmpp/core/ctl:onos-protocols-xmpp-core-ctl',
+    '//lib:tinder-xmpp',
+    '//lib:org.apache.servicemix.bundles.dom4j',
+    '//lib:netty-common',
+    '//lib:netty-transport',
+    '//lib:netty-buffer',
+    '//lib:netty-codec',
+    '//lib:stax2-api',
+    '//lib:aalto-xml',
+    '//lib:concurrent-hashmap',
+    '//lib:gnu-idn',
+]
+
+onos_app(
+    app_name = 'org.onosproject.protocols.xmpp',
+    title = 'XMPP Core Protocol Subsystem',
+    category = 'Protocol',
+    url = 'https://wiki.onosproject.org/display/ONOS/XMPP+as+SBI',
+    description = 'ONOS XMPP core protocol subsystem',
+    included_bundles = BUNDLES,
+)
\ No newline at end of file