Added logging. Now each module has it's own logger (_logger) which
the module can use to write log messages. In addition a file "driver/logconfig.py"
has been added which is imported by command line tools to configure the root logger
from which the other module logger inherit their settings.
Added --dryrun flag to extract-bc and slightly more debug output.