WIP: Remove transaction proposals referencing already spent inputs

This PR adds methods to the wallet object to remove pending TXPs which reference already spent inputs. Integration with the UI is still a work in progress.

Fixes #1170

JFYI, you can do:
preconditions.checkState(this.txps[ntxid], 'optional message');