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
Remove 'Non-VM File Space' chart from datastore C&U

https://bugzilla.redhat.com/show_bug.cgi?id=1123516
Added gettext calls into chargeback view
Use AR relations to save fields/inputs and values

Instead of saving/destroying fields/inputs and values one at time
Use the Active Record relations to save these with a single save
call on the parent. This is done by adding the :autosave to the has_many
relations

It also includes the removal of to_i calls on the id fields. This will
help us when we switch to GIT and have strings as id's and the to_i
calls would fail. the to_i has been changed to to_s
add the verb to the match call

calling `match` without a verb won't work in Rails 4+
Added gettext calls into PXE view
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_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 #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