Added proper cabal test suite.
Added .travis.yml.