Merge pull request #1 from mfriedenhagen/master

Update to current LTS, rely on configured URL from Jenkins instead of parsing request.
Merge pull request #2 from mfriedenhagen/master

Strip trailing slash eventually and add unit tests. Buildhive builds fail because of an infrastructure problem, buildhive searches for Jenkins artifacts in central.