[REFACTOR] refs #6229 - extract validation to a method

this enables plugins (e.g. katello) to override the validation when
requried.
fixes #6319 - precompile dashboard.js
fixes #6382 - revert name change of 48bit mac address regex to fix discovery
fixes #6410 - update to deep_cloneable 2.0
fixes #6177 - clear host facts/reports when build=true set over API
fixes #6331 - use view permission to authorize individual VM show pages
fixes #2972 - load jsonp on bundler_ext installations
fixes #3272 - allow 'admin' account to be removed and replaced
fixes #5679 - change CR identifier to name to fix has_many association lookup
fixes #6358 - Update LookupValue fqdn matchers when a host is renamed
fixes #5753: Engines can now override autocomplete path used in FiltersHelper
Fixes #6285 - Settings API does not parse incoming values to correct data type
fixes #4564 - has_ancestry definition should be removed from hostgroup.
fixes #6496 - Added :match helper method to saferender
fixes #6498 simplified eval statement
fixes #6501: pin jquery-ui-rails
fixes #5414: LDAP + TLS is not LDAP + TLS but LDAP + SSL and changed port automatically on check
Fixes #6099 - Bubble Fog::Errors up to Host
fixes #5235: it's impossible to create filters with invaid searches
Fixes #6533 - rest-client 1.7.0 dropped Ruby 1.8 support