TODO: DAOs between cache layer and SessionHandler
Start of tests for SearchTrie + related classes
Introduce a DAO layer between the various caches and the avalon.models.SessionHandler class to make testing simpler