Added initial suppot for test documentation with Haddock.

See #1352.

Notes:
The CTest case is pretty much a duplicate of CExe's case.
testToExe seems like it could be used elsewhere (it was in fact taken from Build.hs)
There's no --all.
There's no --benchmarks.