Refactor BIP32 -> HDPrivateKey and HDPublicKey

ouch... is this because Buffer.isBuffer() is not enough in the browser?