Bug1033070 instrumenting

This code makes every exception raised on cert.py and harness.py to be logged as a critical message.
It also adds a default try/except block as soon as logging is available.

I also cleanup some modules that are added which are not used.