setup basic tests for continuous integration (using travis)

setup .travis.yml and default scripts to enable automatic testing
on travis-ci infrastructure.