Pluggable serialization in ODatabaseRecord class. ODocument will delegate to the database the right serializer.

This should also speed up a bit because serializer is stateless and
there is no need to search into a map every time