Bulk changes to the project to allow proper compilation on the new Xcode. Disabled invalid tests for now.