Bugfix for issue #1248

Change LoadService to cope with classpath entries containing spaces.  This
doesn't normally happen when JRuby is invoked from the command-line, but seems
to happen when running via jruby-rack.
added IT for https://github.com/jruby/jruby/issues/1477

[skip ci]
fix dependency [skip ci]