Fix RPC handlers to use the results of lookupLedger.
Clarify SetAccount logic and clean up existing code
Fix unit_test suite matching with full names