Add object field type

New ``object`` type that can be defined either with list of fields, or existing modelname.