P2sh - misc. txtool-related libcoin updates

See individual commits.