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
Added unittest
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
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
fixes #3068