make the models in the ReportGenerationCache properly invalidate

I suspect this will fix http://manage.dimagi.com/default.asp?128515 and
related cache report bugs.