use Type.extend for creating types (lead by example) ;)
added transformFrom/transformTo methods to types for transforming to and from DB values
created Model.hydrate to separate adapter hydration