Remove fromHex, tests for edge case fromBuffer errors

This pulls fromHex from `HDWallet` and adds a few tests to catch a couple edge-case fromBuffer errors missing in the coverage (that would only happen from data corruption probably).