Code to define modeltype RM-2380

create a modeltype table used by models and pfts. The table is
initialized with the types already in the models (not pfts). All models
and pfts are associated with a modeltype next.
User can add/edit modeltypes and see the pfts/models associated with it.
switching back to name (would like to use type but that is a reserved keyword in ruby). Will use type in text to make sure it is clear that we are talking about the type of model this row in the database represent.