Add dynamic log file resources

See https://github.com/wildfly/wildfly-core/pull/282/ for details. The only thing difference with this PR is the ability to download the log file and the missing `stream` attribute.