Add travis ci file

This commit adds a travis ci file for building and running tests.
Add build status badge

This commit adds a build status badge on the project readme.
Merge pull request #3 from endoze/add-travis-ci-support

Add travis ci support