Refactored some classes to resolve sonar issues.
Refactored TypeSerializer to two separate classes; StreamSerializer and PlainSerializer
Merge branch '3.0-serialization' into 3.0
Fixed merge issues.
Merge branch '3.0' of github.com:hazelcast/hazelcast into 3.0
Refactored client xml config api.