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 availability_zone view
Added gettext calls into alerts view
Use memoist gem instead of carrying a patch in our rails fork.

We upstreamed our patch to memoist here:
https://github.com/matthewrudy/memoist/pull/2

It has been available in memoist since:
v0.11.0 v0.10.0 v0.9.3 v0.9.2 0.9.0 0.2.0

We can now drop our rails fork patch:
https://github.com/ManageIQ/rails/commit/76ba73412f6de3abe775464bba6a8ec9434fdc98

Fixes #538
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
Added gettext calls into cloud_tenant view
Added gettext calls into host view
Added gettext calls into flavor view
Added gettext calls into support view
Added missing route "dynamic_list_refresh" to various controllers

https://bugzilla.redhat.com/show_bug.cgi?id=1160890
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 storage_manager view
Added gettext calls into storage view
Added gettext calls into security group view
Added gettext calls into resource_pool view
Added gettext calls into repository view
Added gettext calls into PXE view