Implement Model::unsetConnectionResolver

Primarily for unit testing. There is a similar method for the event dispatcher.