Improve build

* Build is no longer dependent on supplied xcode project.
* Uses CMake to generate platform-specific makefile.
* CMake can also be used to generate project files for various IDEs.
* Include .travis.yml for CI.