Implement log file rotation.

By default we rotate every 1M and up to a maximum of 100 files (100MB).
This fixes https://github.com/globaleaks/GlobaLeaks/issues/108