Add more reporting to tests

This was useful for me when I was testing `request` with `streams2`.
Merge pull request #398 from mmalecki/test-reporting

Add more reporting to tests
Optimize environment lookup to happen once only

`process.env` lookup results in a synchronous syscall to `getenv()`,
thus should be avoided in hot code.

Add `request.debug` to allow setting debugging mode at runtime.