improve travis ci

* Allow Travis CI to deploy pull requests to be tested before being
merged.
* Generate IPA file.
* Remove old code.
Merge pull request #268 from bbodenmiller/travis-tweaks

travis ci tweaks