Fixes #8418 - Add 'facts' feature to features
Fixes #5573 - os search definitions for host available in unattended=false mode
Fixes #8424 - Controller concerns are loaded twice

config/application.rb, we are adding the controller concerns twice
folder to autoload_paths
Fixes #4613 - Remove duplicate scoped search from taxonomies
Fixes #8425 - n+1 query on audits index

Audits index include users who performed actions, and these are being
called with n+1 queries. Fix should be as simple as providing the
users through the controller with an includes.
Refs #3809 - Remove useless assignments
Fixes #8405 - Filter :interfaces_attributes when calculating templates_used
Fixes #7908 - normalize mac before host get saved

For some reason we save host without running valdiations when we import
attributes from facts. Therefore we have to take care of mac
normalization by ourselves. We have to normalize it just after setting
new value because save can occure anytime.
Fixes #8456 - normalize addresses only if mac is being set
fixes #8457 - auto complete search clear btn is now positioned correctly

in non index pages which uses auto complete (e.g. filters) the clear
button was not inside the input field.
Fixes #6765 - correct wrong validation on media name

Regex used for validation was wrong, raising error on multiple white spaces instead of on trailing white space.
Trailing white space is stripped anyways by StripWhitespace concern before validation.
Original bug was concerning " " passing validation. However, that is not a single white space but rather quotes with a
space between them; while not useful, it is a valid name. (The quotes are escaped in the db)
Fixes #7440 - correctly autocomplete current_user
fixes #8445 - upgrade rails to 3.2.21
Fixes #6872 - Add title to new compute resource page
Fixes #7233 - Drop Ruby 1.8.7 and revert Ruby 1.8.7 specifics
Fixes #7525 - don't fail on structured facts
fixes #8357 - Set fog gem to version 1.25.0
fixes #8510 - ignore gettext load failures in production without it

gettext is only used when loading gettext_i18n_rails 1.x rake tasks, so it's
only marked as a development dependency.  In production we won't have it, but
still ship this .rake file, so permit loading to fail.
fixes #8367 - Eager load classes under /lib
Fixes #8414 - extracts validators from models

Also cleans up some unused validators looking for trailing whitespace
that is stripped by the StripWhitespaces concern.
Tried to make some sense from unmatching regexps and validation error
messages. Some validations might need a different regexp to check for what
they are actually supposed to validate - but atleast now messages fit
the actual validation.