A number of fixes

 * Remove trailing whitespace
 * Make work with aeson-0.7.*
 * Make `cabal test` work
Add travis-ci config