Add (largely untested) isStandard risk analysis engine.

This is mostly to deal with recent spam, especially dust sybil spam
and tx malleability spam.
Add method to clean up the wallet. Currently, it just removes risky pending transaction from the wallet and only if their outputs have not been spent.
Wallet risky transaction cleanup tests