bufferutils: add Buffer reverse
Wallet: revert 2f00c9a
Wallet: consistent variable naming
Wallet: rename outputs to unspentsMap
Wallet: refactor to use Array unspents solely, deprecating unspentsMap
tests: avoid use of deprecated APIs