Persistence FieldType

DO NOT MERGE
Missing MVC configuration and tests for registry.

This is a proposal for adding FieldType interface for usage inside storage engines.
For retrieving FieldType inside storage, FieldTypeRegistry is implemented.