Add isStandard risk analysis.

This is currently only to deal with recent spam, especially dust sybil spam. Includes an unit-test by Andreas Schildbach.
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. Includes unit-tests by Miron Cuperman.