Made private key import routine automatically extract and import corresponding pubkey
Escaped '&' on hkp_search and corrected $match value
Added typeof == 'undefined' protection to passphrase var