Make ThreadContext available
Switch to use resources to get directory entries.

Current jar Dir.entries implementation doesn't return "." and ".." so to keep this behavior in 1.7,
I've moved the "." and ".." addition logic to RegularFileResource. Unfortunately fixing the jar files to
support such behavior would require and invasive refactor of File/Dir implementations to be able to support
expanding '..' in jar file names.
[IR] Added toString for BuildLambda instructions.
Some new nodes and stuffs to better handle required keyword argument handling
Some new nodes and stuffs to better handle required keyword argument handling
Merge pull request #1526 from ratnikov/fileresource-rubydir

Change to use FileResource to get entries for RubyDir (will follow up to re-add the non-TC initialize methods for backwards compat)
Add backwards compat shims in case Java code is calling these methods
Merge with jruby-1_7
Do not depend on console to properly encode to proper tty-friendly chars on windows if the JVM was started without a console.
[IR] Discard additional "_" args in a block.

* Lets me run all MRI tests to completion with just a LinearizeCFG
  pass.

* Before this fix, the following snippet would have crashed with
  these args: -X-CIR -Xir.passes=LinearizeCFG

def foo
 yield [1,2,3,4]
end

foo { |a,_,_,_| p a }
Implement EmptyFileResource
Always return same instance
Keyword arguments error checking mildly improved
Argument error on required keyword arguments
Merge pull request #1513 from ratnikov/null-file-resource

Introduce EmptyfileResource that should replace the JRubyNotFoundFile.NOT_FOUND
Implement EmptyFileResource
Always return same instance
Merging with jruby-1_7
use snapshot version [skip ci]
Some more kwargs error work++