Logfile download

implements / fixes https://github.com/owncloud/core/issues/12731

TODO:
- [ ] add unit test
- [ ] add warning if log file is bigger than 100MB