Add travis

Add travis for tern. 

Go to the http://travis-ci.org/marijnh/tern to activate travis. This PR will show the status of tern inside the README.