add simple .travis.yml file.
tell travis that this is a haskell project.
Merge pull request #49 from heyLu/build-with-travis

Build with travis.
Merge remote-tracking branch 'upstream/master' into 7.8.2-update
Update travis config and cabal dependencies