Fix ServerSocket#accept_nonblock to return a correct Sockaddr

ServerSocket#accept_nonblock should return a Sockaddr with the remote port, not the local port.

This closes #1777
added jar dependencies to allow declare jar dependencies inside gemspec and download and install them during gem installation (works for bundler and gem install xyz)
fix comma
get the default hook lazy for bootstrapping
added jar dependencies to allow declare jar dependencies inside gemspec and download and install them during gem installation (works for bundler and gem install xyz)
get the default hook lazy for bootstrapping
new version
Implement Module#singleton_class? predicate method

This method has been introduced in Ruby 2.1 and is a convenient way to
check whether a class is a singleton one or not (see
https://bugs.ruby-lang.org/issues/7609 for further information).
CP this change from master
minor typos
Fix BigDecimal#round behavior with NAN and INFINITY

When we call round without any argument on BigDecimal::NAN or
BigDecimal::INFINITY, a FloatDomainError should be raised.

Otherwise, the number shouldn't be altered. The problem is that JRuby
defines these constants according to BigDecimal.ZERO so when we apply
the rounding on it, it returns a float form of 0. Thus, we need to
short-circuit that and return the constant itself.
* Use java.io.tmpdir for default Etc.systmpdir.  Enables changing Dir::tmpdir using a Java system property.
* Fixed failing test for tmpdir change.
Fix $LOAD_FEATURES paths for 1.8
* Run mvn -Pjruby-jars on travis-ci to make sure it works.
added test case on how to pack an osgi bundle with embedded gems and scripts, using default ScriptingContainer

[skip ci]
needed genrated pom.xml otherwise the bundle-plugin fails [skip ci]
* Allow jar:file: urls in require and load.
* Added failing test for Pathname.realpath
* Added failing test for Pathname.realpath:  Delete the tempfile before linking.
* Resolve symlinks in File.realpath.