Make TxFormats a Meyers singleton
Fix a defect in RangeSet.
Fix ResourceManager log output
Changes to support the ledger cleaner
* Rework ledger save return values to indicate errors to callers
* Add an extra function to support the ledger cleaner.