Changes Model.extendsTo to avoid using Model.get(num)

Uses Model.find().first() since there's only one item in Model and this
way mongodb works directly
Updates Instance to check for new one_assoctions.field structure for required properties

SGBD tables would enforce required values but mongodb for now does not,
so this should be done before even going to database
Changes hasOne required tests to define an association field