Adding autoregistration for serializers

This PR adds automatic registration of serializers using the same semantics as for DataSerializable. This adds the possibility for HZ modules (and customers) to automatically add serializers for non HZ datatypes or datatypes with final fields (as interesting for MapReduce internals).