A number of fixes

 * Remove trailing whitespace
 * Make work with aeson-0.7.*
 * Make `cabal test` work
Add travis-ci config
Clean up language pragmas
Add .ghci
Fix deprecation warning
Make code -Wall sane
Do not use dynamic scoping for constructing the json value (fixes #5)
Bump version