Update to iOS 7.0 as base SDK, update test framework to XCTest, fix thread-safety issues in RootViewController