Added Travis CI config

Added Travis CI config and the build status image to the readme. Also fixed the tests that were there and added a new spec file for the view engine as an example.

To get it working in the base repo, you'll need to sign in to travis ci with your github account and enable the service hooks in the repo settings. http://about.travis-ci.org/docs/user/getting-started/