Convert URL to URI for decoding.

URI will decode entities when retrieving the path, something URL won't
do.  This makes a difference when the location was something like
"file:/C:/Program%20Files/Jenkins/"
Merge pull request #18 from jenkinsci/fixWhenPathWithSpaces

Fix UnsatisfiedLinkError when path to plugin contains spaces.