Bump rails for the record instantiation time backport

https://github.com/ManageIQ/rails/pull/6
https://github.com/ManageIQ/rails/pull/8
https://github.com/ManageIQ/manageiq/pull/821
Avoid creating unneeded hashes by using Hash#merge! instead of #merge.

The "row" hash created within each of these methods is modified and returned.
The intermediate hashes are unneeded since no one else can accidentally modify them.
We merge :colX keys so we can move the final merge to intialization
Remove unneeded hash initialization
Ensured that dynatree cookies get deleted after a session reset.

The session reset that happens after a LDAP user switches groups, clears
out all the dynatree sandboxes. However the cookies are left intact
which cause an issue with the dynatrees, making them lose some
functionality. For e.g. the trees expand the nodes, but nothing
happens when the user clicks on them.

https://bugzilla.redhat.com/show_bug.cgi?id=1102250
https://bugzilla.redhat.com/show_bug.cgi?id=1086468
Charting: generalize themes selection.
properly detect localhost in EvmDatabase

https://bugzilla.redhat.com/show_bug.cgi?id=1050211
Add spec for MiqProvision::StateMachine#prepare_provision

https://bugzilla.redhat.com/show_bug.cgi?id=1152737
Refactor and update spec

https://bugzilla.redhat.com/show_bug.cgi?id=1152737
Further enhance testing #prepare_provision

https://bugzilla.redhat.com/show_bug.cgi?id=1152737
Move jquery .focus function calls to a JsHelper

Consolidated calls to .focus so that any potential future JS library changes are less painful.

https://github.com/ManageIQ/manageiq/issues/214
Add tests for new JS helper methods, fix broken specs

https://github.com/ManageIQ/manageiq/issues/214
Remove the Hash patch that is not used in lib/test/xml/tc_xmlhash_methods.rb.

Fix #842
Charting: pass report_theme.
Charting: simplify code using delegation.
Charting: allow changing of series colors.
Rewritten ems_cluster view to HAML
Fixed a typo in vm_common/_images_filter_tree.haml
Merge pull request #737 from kbrock/evm_database_detect_local

properly detect localhost
Merge pull request #865 from lfu/monkey_patch_hash_in_test

Remove the Hash patch that's not used in lib/test/xml/tc_xmlhash_methods.rb