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.
This isn't a problem that arose in this pull request but you might as well change it while you're working on this: The heading on this page should say "Viewing Model" not "Viewing Input".)