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
Added gettext calls into ems_infra 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
add spec test for expression with <registry>

https://bugzilla.redhat.com/show_bug.cgi?id=1160791
Added gettext calls into chargeback view
Added gettext calls into cloud_tenant view
Added gettext calls into ems_cloud view
Added gettext calls into ems_cluster 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
Merge pull request #990 from bzwei/quote_expression_spec

add spec test for expression with <registry>
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