Refactored part of Record framework

Added GenericRecord, GenericMetaRecord traits that allow to
use FieldType parameter to set base field class. I makes Record framework
a bit more flexible.