Fix a framework error when using a non-dynamic GHC
new test for #7796, also improves a haddock perf

T149 is also an unexpected pass, but it's behaving
nondeterministically, so I'm not changing it for now
SpecConstr infinite specialisation: test for #5550
Test Trac #7805
Test Trac #7804
Wibbles to error output
Bump peak-megabytes (always a wobbly number)
Test Trac #7827
Wibbles to "main is not defined in Main" messagse
Test Trac #7837
Test Trac #7586
Test for #7815

This test differes slightly from the code in the ticket, but the
simplification betters the chances of seeing the error.  Instead of
looking for the error with an additional tranaction, when error appears
only one `reset` can complete and the other is blocked on STM raising an
exception.
Whitespace only
Add a multi_cpu_race helper

This makes the test run alone, to increase the chance of a
multi-CPU race happening.
Fix the testsuite config to allow running with GHC 7.6
Add a test for #7848
Fix tests after #7848
Fix detection of library flavors on FreeBSD
Fix library flavor detection for the validate script as well
Actually test T4175