Updated method_spec to test additional java_signature return types

Added new specs to validate java_signature returning the correct java form:
  When using primitive arrays as a return type
  When using collections with generics as a return type
Return if we can’t get proper native handle.

This avoids a ArrayIndexOutOfBoundsException in case we got invalid
native handle. The program will still die, but it will now instead
return

  java.lang.RuntimeException: C extension initialized against invalid ruby
  runtime

as error.
De-version IO
Missed 1.8 impls of gets
De-version Kernel
Add missing methods for -np support (sub/gsub)
De-warn + no unneeded name anno value
De-version MatchData
De-version Math + context'ify them
De-version Method
De-warn + reduce unneeded anno attributes
Propagate all exceptions out of fibers. Fixes #1106.

Only Ruby exceptions were propagating before. This modifies the
thread logic for fibers to also propaate the original Java
exception out in the same way.

This also allows Thread#raise to be called with a Java exception,
which was missing before and needed for this fix.
Propagate all exceptions out of fibers. Fixes #1106.

Only Ruby exceptions were propagating before. This modifies the
thread logic for fibers to also propaate the original Java
exception out in the same way.

This also allows Thread#raise to be called with a Java exception,
which was missing before and needed for this fix.
Merge branch 'topic/update_java_signature_method_spec' of github.com:jstoneky/jruby into jstoneky-topic/update_java_signature_method_spec
Updated method_spec to test additional java_signature return types

Added new specs to validate java_signature returning the correct java form:
  When using primitive arrays as a return type
  When using collections with generics as a return type
Property substitutions apply globally, nimrod.
Property substitutions apply globally, nimrod.
Always use runtime's err when logging top-level exception.

Fixes #1082.
Always use runtime's err when logging top-level exception.

Fixes #1082.
Move tracing tests earlier in "long" suite to avoid interference.