Add support for new field types to ruby generator
Modify self references to only allow a reference field

  - for example, a model named category with

      key
      parent

  would need to define parent as "reference[category]"
Update error messages in spec related to invalid references
Update UI to reflect change to resources being separated from model