Updated JS module to accept object with options instead of only headers.
Updated JS module to accept object with options instead of only headers.

https://github.com/nordnet/cordova-hot-code-push/issues/153

nordnet/cordova-hot-code-push,nordnet/cordova-hot-code-push,limexcomputer/cordova-hot-code-push,mnewmedia/cordova-hot-code-push,mnewmedia/cordova-hot-code-push,davidovich/cordova-hot-code-push,limexcomputer/cordova-hot-code-push,davidovich/cordova-hot-code-push