Handle Height Mismatch

When a wallet is added to a block chain that has a lower block height than the chain, try to repair.

Adds a "crash simulation" unit test.