Updated controllers to only save items when they are changed instead.
Various controller bug fixes.
Fixed a bug where IMongoQuery's were not being created properly.
Fixed various repository query bugs.