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