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
Fixed possible cluster not ready on mapreduce tests
Merge pull request #3109 from juggernaut/fix-npe-registrations

Fix NPE when registrations is null
Merge pull request #3063 from serkan-ozal/fix/3.x/issue-3052-and-3053

unit test fix for #3052 and #3053
Added spring support for network.reuse-address property
fixes #3138 . Update istatistics after operation is run and  before response is send to client
update after comments on pr