Upgrade to latest Xcode settings
Enable Modules
Remove unnecessary schemes
Convert OCUnit to XCTest
Turn on analyze for tests too
Run tests for both iOS and OSX

- Use script target rather than build matrix
- Upgrade xctool as travis-ci's version is broken for iOS
Update NEWS and update versions for 4.0.1