FIxing hkp_search and javascript sanitization

Made private key import routine automatically extract and import corresponding pubkey

Escaped '&' on hkp_search and corrected $match value (fixes and closes https://github.com/qnrq/rc_openpgpjs/issues/129)
Added typeof == 'undefined' protection to passphrase var