Fixes #7041: fixed incorrect belongs_to mappings

:conditions reference columns from the local (to the relation) table,
while the condition is applied to the remote side of the association.
The condition can be removed, as it's redundant anyway.
refs #6161 - Add test to make sure override is marked on create
fixes #7336 - editing compute resource should not clear existing attributes from the form
Fixes #5692 - correct counts in cached_counters
Fixes #7247 - Add migration and rake task to correct corrupted cached counters
fixes #7221 - do not display areas of the org/loc UI unless view rbac

corrected 'template' to 'templates'
fixes #7314 - Set settings explicitly instead of stubbing Settings
fixes #7213 - exclude plugin permissions from seeds test
Fixes #6903 - html tags in the message when deleting multiple hosts
fixes #7432 - ensure btn with dropdowns do not span across lines.
Fixes #7329 - Correctly validate HostConfigGroup
Fixes #6713: Long names needs to be truncated while listing
Fixed #7020: Validation instead or error when comments in 'audit comment' exceeds 255 characters
Fixes #7038: No error when hostgroup name exceeds 245 characters
Fixes #7139: Subnet name is limited to 255 chars
fixes #7299 - do not display 'Mismatches Report' button when no view-host
Fixes #3085: Request to be able to clone host groups via API
refs #3085 - missing API i18n string extraction
fixes #7436 - extract nested host group error message
Fixes 4642: Fix intermittent test failures on rundeck functional tests