Fix RIPD-509, RIPD-514, RIPD-519, RIPD-525, RIPD-527, RIPD-529, RIPD-530.

* Also RIPD-531.

* Protect people from ledger-spew and remove cruft.
* Better errors
* Cache command shows ledger cache
* Better ledger summaries ().
* Offline mode.