Test Trac #8639 (just the GHCi version)
Test Trac #8639
Improved out-of-scope error for qualified names in GHCi
Test Trac #8644
White space only
Update T7594 as a result of fixing #8644

The fix to #8644 makes the original T7594 pass (rightly).
I've added a variant that shouuld and does fail
Do hFlush in the T8639_api test