get better pattern matching for uri-like path for jirb

if the path to jruby-complete.jar contains a space the various
uri-like path strings do not match (file: or no protocol, ' ' or '%20')
should be treated equaly.

Sponsored by Lookout Inc.