Renamed references.type_id -> references.reference_type_id
migrated schema
Reflected type_id rename to views
Added parameter field to view
Updated Reference accessors to reflect db schema change
Updated enviroments to get rid of DEPRECATED warnings