Fixed remote exception and added unittest to show this is already fixed

Conflicts:
	hazelcast-client/src/test/java/com/hazelcast/client/map/ClientMapLoadAllTest.java
	hazelcast/src/main/java/com/hazelcast/util/ExceptionUtil.java
unit test fix for #3052 and #3053
unit test fix for #3052 and #3053
unit test refactor for #3052 and #3053
unit test refactor for #3052 and #3053
backport for issue #2627
Use Config created when creating Hazelcast instance
Merge pull request #3104 from y-higuchi/fix/3.2/respect_config

[3.2] Use Config created when creating Hazelcast instance
Added unittest
Fixes #3105 IOSelector exception handling.

There are 2 improvements:
1: if the selector fails to be opened, the exception isn't propated and can lead to an infinite loop in the run method
2: if the selector.select fails, it can lead to an hot cpu because of spinning. I have applied the same technique as used in Netty to prevent this from happening. Also the full exception stacktrace is logged.
Fix NPE when registrations is null
Merge pull request #3102 from noctarius/backport-issue-2627

backport for issue #2627
backport for #2887
updated JettyWebfilterTest.java to JettyWebFilterTest.java
#2817 - Hazelcast Core JAR is now on a classpath when starting the example client
Merge pull request #3117 from jerrinot/maintenance-3.x

#2817 - Hazelcast Core JAR is now on a classpath when starting the example client
Merge pull request #3113 from mesutcelik/backport2887

backport for #2887
added tomcat libs to test scope
unit test fix for #3052 and #3053
Made NetworkConfig.setReuseAddress configurable through XML