Introduce new cache record_id -> object_id (requiring a key prefixed by tablename since record_id are only unique per table)
Extend ModelDao to also export (and map from database) recordId, tenantRecordId, accountRecordId
Populate ALL caches straight after retrieving objects (getById), which is very optimized considering Kill Bill usage pattern
Fix glitches (remove extra mappers, ..)
Add test for caching layer
Merge branch 'master' of github.com:killbill/killbill