Basic logging support added. 

Now requires additional logdir attribute in config file. Uses the
logging package, so commands like 

```
logging.debug('banana')
```

are the way forward.
Changed logging level to WARNING.