haddock documentation, minor cabal file additions