Support path expansion in jar entries.
Merge pull request #1645 from ratnikov/fix-jar-expansion

Fix jar entry path expansion (https://github.com/jruby/jruby/issues/321 issue)
GH-1590 - Hash#hash should not return the hash size when keys & values are the same.
Automerge from a web-merged PR from github
Stop using the deprecated verson of sun.misc.Unsafe#getLong(Object, int) and use the recommended getLong(Object, long).  The deprecated version is not present on Dalvik (Android) and throws Exception(Java::JavaLang::NoSuchMethodError): sun.misc.Unsafe.getLong
BasicSocket#shutdown should accept strings or symbols

Fixes #1579
Changing RubyHash#hash to use HashMap.hashCode to calculate the hash value.
Fix #1664 for Hash#compare_by_identity and Hash#store

https://github.com/jruby/jruby/issues/1664

Test in RubySpec:
https://github.com/rubyspec/rubyspec/pull/274
RubyHash#hash fixing colisions when a hash contains itself.

Thanks @atambo for the help.
RubyHash#hash reverting the latest changes when it's a recursive call.
Kernel#fail should handle java exceptions

Fixes #1641
Process#spawn can accept arrays

This doesn't exactly fix the issue in #1651 but it at least allows it
to run now.
Merge pull request #1667 from atambo/fail_should_handle_java_exceptions

Kernel#fail should handle java exceptions
ArrayJavaProxy#to_a now returns nested arrays where applicable
Merge pull request #1673 from tduehr/to_a

ArrayJavaProxy#to_a now returns nested arrays where applicable
Merge pull request #1666 from godfat/jruby-1_7-no-copy-for-compare_by_identity

Fix #1664 for Hash#compare_by_identity and Hash#store
Use pwd -P to work on systemlinked locations.
allow to build jruby distribution with default 1.8 compatibility
missed to configure the plugin repo as well
Merge pull request #1677 from ratnikov/fix-symlinks-test

Use pwd -P to work on systemlinked locations.