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
War of the wallpaper!  I think my fix to remove bogus extra dynscope per simple eval
exposed that we somewhere pop off toplevel scope before the runtime shuts down.  To
counteract this I add back a bogus scope only for shutdown.  This is likely a bug
in that any capture lvars in at_exit blocks is likely lost (haven't tested), but
this makes mspec fast run without error for now.
LocalVariable is immutable why do we make more in clone?  Saves 1-2M of memory running
empty Rails application console (-X-C vs JIT savings)
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.