Adds ability to clear build log by authorized users

See travis-ci/travis-ci#890