Implemented new capacities for caching and static analysis for ledger datatypes. Major, major speed improvements for iterating over ledger data.
Merge pull request #23 from dimagi/ledger_iterate_performance

Caching and Performance Improvements