Detail modules and tests names in the logging callbacks

Fixes #685 (partially for the regressions on `test/setTimeout.html` and `test/stack.html`)
Fixes #677

Ref: #662 
Ref: #674
`inArray` is not available here, and I don't feel like bringing it to QUnit namespace. I'll remake it with the for loop only.