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.