Fix haddock syntax error
Include linking in the background build that runs after ghci closes
Run the auto command (after :reload) if there are only warnings in the log
Better support for Haddock error messages in the log pane
Export symbol needed by unit tests
Include building documentation in builds when tests are enabled (checking the documentation is a sort of test)
Strip the Haddock code sample prefix ("-- >") from code sent to ghci