fixed broken immutable edit

* added an optional model param to URLParams::get_type() to check for GlobalSettingField model
* added tests for immutable index, edit, and add controllers
Merge pull request #578 from unikent/bugs/broken-immutable-edit

fixed broken immutable edit