onos-2420 Add unit test for Host REST API and fix documentation errors.

Change-Id: I633d6a8ed75dd3f79f134873967615c196f7e14b
diff --git a/web/api/src/test/resources/org/onosproject/rest/post-host.json b/web/api/src/test/resources/org/onosproject/rest/post-host.json
new file mode 100644
index 0000000..26c6292
--- /dev/null
+++ b/web/api/src/test/resources/org/onosproject/rest/post-host.json
@@ -0,0 +1,12 @@
+{
+  "id": "11:22:33:44:55:66/-1",
+  "vlan": "-1",
+  "mac": "11:22:33:44:55:66",
+  "location": {
+    "port": 3,
+    "elementId": "of:0000000000000001"
+  },
+  "ipAddresses": [
+    "10.10.10.10"
+  ]
+}