First stab at adding travis [1] integration.

Add config for building with gcc and clang on linux and osx.

[1] http://travis-ci.org