move haddock executable to separate package
export things to allow customizing how the Ghc session is run
fix warnings and travis config