Resolve wallet cache when chain switch fork, if following with existing design,  related to #133

Resolve partial issue described in #133.

For wallet export/import, still need to re-scan the chain to update the wallet cache, 
```wallet_export_to_json``` and ```wallet_create_from_json```