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