Fix logging

Making logging consistent between web.py and guardian.py:
* Use the the same file handler for the standard logger and app.logger;
* Replace calls to app.logger with logger;
* Add backupCount to rotate logs.

We should use a StreamHandler here to match web.py.