CMS-2239 Implement XML serializer/deserializer for Module

Implemented serialization/deserialization for Module and written unit tests for it.
Merge pull request #397 from enonic/CMS-2239

CMS-2239 Implement XML serializer/deserializer for Module