fixes #11037 - Add ByIdName to environment model
Fixes #11089 - Adapt tests to Rails 4
This commit contains all changes to tests in branchhttps://github.com/theforeman/foreman/pull/2055 that I found to beretrocompatible with Rails 3. The more of these we can get in, the lesscode we will have to review for Rails 4, and the more relevant it will...
Fixes #10356 - changed the POST/PUT RABL template to be the same as the GET template
HTTP response code standardized to 201 on create.
Refs #3809 - Remove cops for empty lines
Refs #3809 - Remove useless assignments
Refs #969 - Foreman-side changes for serving templates from the proxy
fixes #6856 - API v2 - more efficient import puppetclasses for single environment
fixes #5506 - added scoped search to SmartProxy for UI and API v2
Fixes #4851: a SmartProxy.with_features scope replaces feature-specific scopes generated during class loading
fixes #4314 - ignore default scope ordering on host search by puppet class
fixes #3553 - add "except" option to prevent puppet class import to select types of import
fixes #3011 - default root node name for api collections json response to :results but make it configurable
fixes #3017 - split APIv2 controllers from v1 parents