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
Merge branch 'develop' into 8465-AddDigitalOcean
fixes #8465 - image.name should have distribution and version

* Removes hacks on server.imageName
* properly overrides :name in image model
fixes #8465 - fix 500 error with invalid credentials

The client.regions assignment doesn't actually *test* anything.

Once you do client.regions.count (or .inspect or whatever) it actually makes
the connection and gets the 401, so it fails miserably.

Previously the first place it was being accessed was the form where it was
loading the regions for the select_f. Now its in the test_connection().

It occurs to me that perhaps if an API key is invalidated *after* it has been
setup and working, it will cause problems, but I think that is something that
several of these models will fall victim to.

~tommy
fixes #8465 - fixes distribution.name nil class error

* First it does the .to_i on the "id" which helps the "get" work
* Second it does a ".try" on it so it can be nil quietly