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