Synch File.fnmatch FNM_EXTGLOB specs

Thanks @jbr for expanding these.
skip a test for embedded jruby
make sure we get the ${basedir} right for the test
remove those "bundle" is not a known protocol error
Made RubyString#positionEnd a static utility method so it can be used outside of RubyString.
[Truffle] RubyRegexp#scan no longer get stuck in an infinite loop and can now return captured values.
[Truffle] Fixed typo.
Removed an unused reference and inlined another.
Make global TemporaryVariableCache to dramatically reduce allocation of this highly repetitive immutable object
[Truffle] Allow blocks to be passed to String#scan.
Warn but do not error for odd java.specification.version.
Allow jrubyc-compiled main() to be used from boot classloader.
Do not canonicalize URLs using JDK canonicalization. Fixes #2331.
Merge remote-tracking branch 'origin/jruby-1_7'

Conflicts:
	core/src/main/java/org/jruby/RubyFile.java
	core/src/main/java/org/jruby/compiler/impl/StandardASMCompiler.java
Moved a helper method from RubyString to StringSupport.
Removed the forking 1.9 logic from RubyString#dump.
Updated String#dumpCommon to take and return a ByteList.
Made String#dumpCommon a static method.
Moved RubyString.dumpCommon to StringSupport so it can more easily be shared.
[Truffle] Partial implementation of String#dump.