A bevy of bugfixes

Bugs fixed:
* Calculate correct fee in sign/submit requests
* Avoid race conditions when updating fee entries
* Don't lose the heartbeat timer

Improvements:
* Don't copy JSON object when calling lookupLedger
* Don't let the human account ID cache overflow too often
* Enlarge RPC time and size limits