HDWallet: remove unused imports
HDWallet: remove getKeyVersion
HDWallet: use new constructor
HDWallet: remove repeated assertion
HDWallet: extract BIP32 params search function
HDWallet: adds PubKey validation
HDWallet: remove toHex