Fixed various compilation errors, mainly by updating to MVC4 everywhere.
Fix build warnings by getting everyone on same newtonsoft.json version
Refactored some contracts out of IRecordTasks into separate queries