Make the cache mock stateful across each test
Add support for test case-specific logging
Change cacheMock to mockCache to be consistent with mockCasTable
Add framework of mockNodesTable
Change Cache to use gob instead of json
Rename all 'l' to 'log' to make it more greppable