Logfile download

implements / fixes https://github.com/owncloud/core/issues/12731

TODO:
- [x] add unit test
- [x] add warning if log file is bigger than 100MB
This will not work in case the log file is redirected to syslog - has to be handled as well.