Tweaked js script to use cordova built-in integration mechanism.
Added resolve request queue to fix bug where new requests cancel previous ones.
Added function to stop browsing.
Merge branches 'jsfix', 'resolvefix' and 'browsestop' into custom

Conflicts:
	dnssd.js