Rest API: fix "limit" and "offset" functionality

This is to fix the followig errors:
1. When using 'limit' argument:

    String can't be coerced into Fixnum, klass:TypeError

2. When using 'limit' with the 'offset' argument:

    undefined method `-' for ...:String, klass:NoMethodError
Fixed rendering issues after the upload of Sysprep Answer File

Clicking on Upload resulted in many Provisioning dialog rendering issues such as -
1. Form buttons (submit/cancel) were not showing up effectively inhibiting provisioning
2. Layout abruptly switched from explorer to non-explorer

Other than the above rendering issues, also fixed a routing error and a
crash that was originally reported in the BZ.

https://bugzilla.redhat.com/show_bug.cgi?id=1154054
Added gettext calls into alerts view
Added gettext calls into chargeback view
add the verb to the match call

calling `match` without a verb won't work in Rails 4+
Rewritten generic_mailer view to HAML + added gettext calls
Fixed breadcrumb link for "Services" in Host Summary screen

Ensured that the explorer action gets called for the Services breadcrumb
link.

https://bugzilla.redhat.com/show_bug.cgi?id=1148636
move migration reordering out of rails, and in to the app
Bump rails gem to get the backported bigserial feature.

https://github.com/ManageIQ/rails/pull/11
Added gettext calls into vm_* views
Added gettext calls into catalog view
Rewritten ontap_file_share view to HAML + added gettext calls
Rewritten ontap_logical_disk view to HAML + added gettext calls
Rewritten ontap_storage_system view to HAML + added gettext calls
Adjusted specs for generic_mailer to accept HAML rendered HTML

When rendering the HTML mail using HAML, some extra whitespace characters (newlines, spaces) are added around the tags.
Rewritten ontap_storage_volume view to HAML + added gettext calls
Merge pull request #1032 from skateman/gettext-haml-ontap_logical_disk

Rewritten ontap_logical_disk view to HAML + added gettext calls
Merge pull request #963 from skateman/gettext-alerts

Added gettext calls into alerts view
Merge pull request #977 from skateman/gettext-chargeback

Added gettext calls into chargeback view
Fixed issue - buttons do not light up after a selection is made

This issue was seen in the Provisioning dialog page where despite a
template selection, the Continue button would not light up.

Recent prototype -> jQuery changes exposed this issue (which is an issue
for jQuery, but not for prototype) where if there are multiple elements
in a html page with the same id , for e.g. -
<span id='buttons_on'>
<div id='buttons_on'>
then a jQuery call - $j('#buttons_on') would pick only the first element
, thus introducing a bug where the second element with the same id would
not be handled at all.
On the Provisioning dialog page, the quick_search bar had its own set
of buttons that were causing the above issue with the Provisioning
dialog buttons. The quick_search bar buttons have now been renamed to
quick_search_buttons_on/off to avoid the id clash.