ignore file: protocol if present
call generated script differently then the any existing files, to avoid finding
it on the classpath and loadpath
run the load_path test only in 1.9 mode since 1.8 finds things on CWD
adjust Dir.entries to be uri-like
add "." to LOAD_PATH as some test need this
in some environments JRuby is not loaded via the context-classloader
use runtime.getCurrentDirectory to determine whether a ruby script comes from "."