Update model.class.php

Adding the ability to cache results for find and first.