Add (largely untested) isStandard risk analysis engine.

This is mostly to deal with recent spam, especially dust sybil spam
and tx malleability spam.
[WIP] Wallet.cleanup()