Added cache implementation of Model::find
If we have no type, we can't create a model
Fixed the automatic database update when adding/changing attributes