Enable travis-ci for haddock-library
haddock-library: Do not depend on haddock-library in test suite

I think you either add src to hs-source-dirs or the library to
build-depends.  But doing both does not make sense (AFAICT).
haddock-library: Depend on attoparsec