Logging for unhandled exceptions in and out of py.test

Also improved logging for test results
Merge pull request #453 from seandst/log-unhandled-exceptions

Logging for unhandled exceptions in and out of py.test