Add pthread option to OMakefile
Add .travis.yml for Travis CI