Add travis ci and badge to README.

Created .travis.yml for build of dependencies and running of tests in the 'tests' directory.