Add .travis.yml, along with minor changes.

- Add .travis.yml.
- Use CGRect functions in sample app.
- Addn sample usage to README.
Merge pull request #11 from modocache/travis-and-such

Add .travis.yml, along with minor changes.