Added mockito.
Added collection memoizer trait and mixed it in to all existing db collections.