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
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.
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
Merge pull request #849 from jrafanie/dont_create_so_many_hashes

Avoid creating unneeded hashes by using Hash#merge! instead of #merge.
Merge pull request #836 from jrafanie/bump_rails_for_record_instantiation_time_backport

Bump rails for the record instantiation time backport
Merge pull request #867 from AparnaKarve/bz1102250_restore_tree_functionality_after_grp_change

Ensured that dynatree cookies get deleted after a session reset.
Merge pull request #823 from bmclaughlin/js-helper-focus

Move jquery .focus function calls to a JsHelper
Merge pull request #574 from martinpovolny/chart_themes

Chart themes