Regression test for issue #2264
expand path before adding it to the $CLASSPATH variable

fixes #2216
get the $CLASSPATH variable right and allow proper URL as well

adjusted some specs to check for path expanded entries. #2216
Merge pull request #2268 from johnmuhl/jruby-1_7

Regression test for issue #2264
Fixes #2258. Encoding issue with backticks
Merge with jruby-1_7