make filter an optional parameter
simplify
add field_type if it’s a leaf
make an EntityType roots scope
EntityTypesController#index should only return roots
prefer scope macro in this case
remove unnecessary Set
Merge pull request #7 from CruGlobal/fix-entity-types-index

Fixes to EntityTypesController#index