XCTest and Travis-CI support

This pull request adds the scaffolding required for XCTests as well as Travis-CI support for both iOS and OS X targets. Perhaps some of the existing xcodeproj tests can be converted to XCTest?

@robbiehanson For the Travis support to start working you'll need to go to https://travis-ci.org and turn it on for this repo.