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.
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.