Add IdentifiedDataSerializable to hazelcast.xml config.

- There was a bug, in #718, where Serialization configuration required for datastore mode
  is missing in Hazelcast instance created for Event.
  This patch adds the required configuration to hazelcast.xml templates.

- WARNING: User need to regenerate hazelcast.xml after this patch.

Change-Id: I6f07810930457336673f7c511540e8ce1d0af746
diff --git a/conf/template/hazelcast.xml.template b/conf/template/hazelcast.xml.template
index b0e5c49..ce0e53e 100644
--- a/conf/template/hazelcast.xml.template
+++ b/conf/template/hazelcast.xml.template
@@ -23,6 +23,13 @@
     </join>
   </network>
 
+    <serialization>
+        <!-- IdentifiedDataSerializableFactory for HZTable.VersionedValue class -->
+        <data-serializable-factories>
+            <data-serializable-factory factory-id="1">net.onrc.onos.core.datastore.hazelcast.VersionedValueSerializableFactory</data-serializable-factory>
+        </data-serializable-factories>
+    </serialization>
+
   <!-- Configuration of maps used as a data store. -->
   <map name="datastore://*">
     <!-- must use 'sync' backup to imitate other data store -->