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
Refactored resource_action_spec
If zone is available for a resource connected to button use it

https://bugzilla.redhat.com/show_bug.cgi?id=1149003

Most of the resources like host, vm, cluster, datastore etc.
have a zone, so when submitting a task into the queue specify
the zone if the target supports has one.
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
add spec test for expression with <registry>

https://bugzilla.redhat.com/show_bug.cgi?id=1160791
Fixed typo - javscript_ to javascript_

introduced in PR#881
Merge pull request #992 from AparnaKarve/fix_typo_caused_by_PR881

Fixed typo - javscript_ to javascript_
Added gettext calls into chargeback view
Added escape for arguments of JS helper methods
Fix javascript miq_buttons show/hide
Fix javascript for setting value and focus
Merge pull request #971 from mkanoor/bugzilla_1149003

If zone is available for a resource connected to button use it
Merge pull request #995 from skateman/js-focus-value-fix

Fixes for the javascript prototype to jquery conversion regressions.
Added gettext calls into cloud_tenant view
Added gettext calls into ems_cloud view