Merge branch 'master' of https://github.com/hazelcast/hazelcast
fixes #3407, prevent NPE
Merge branch 'master' of https://github.com/hazelcast/hazelcast
Fixes #3055

fixes Spurious failure oientExecutionPoolSizeLowTest
registering endpoint is moved to authentication request so that we do not register unauthenticated endpoints to client ednpoint manager
Fixed checkstyle issues
jquery version update
Code Sample texts and links reviewed.
Merge pull request #3429 from emrahkocaman/master

jquery version update
Improved logging when unknown endpoints found in partition table.
fix null oldvalue in update events within transaction. fixes #3406
Tiny CientMultiMapListenerStressTest cleanup
test cleanup
Merge branch 'master' of https://github.com/hazelcast/hazelcast
also take backups of tx reservations
Always removed last added partitions from overloaded members.
This should decrease overall no. of migrations during repartitiong.
If a member is detected as dead a repartitioning thread on a master is paused and
its re-activation is scheduled. Other members have time to notice the member
is dead, so they can promote backups and shift partition tables.

When another member is detected as dead while the migration thread is still paused
the original re-activation is now postponed.
MAX_NO_MASTER_CONFIRMATION_SECONDS increased to 500s.

It decrease a chance of data loss when multiple members are running on the same host which dies suddenly.

There are two commonly used mechanisms to detect dead members:
 - heartbeats
 - master confirmation

By increasing the MAX_NO_MASTER_CONFIRMATION_SECONDS we make sure the dead node is always detected by
the heartbeat mechanism. Heartbeats are sent with higher frequency than the master confirmations so there
is a good chance we detect all dead members before re-partitioning process is started.
fix for issue #3047 (throws exception in case of non-comparable)
unit test for issue #3047 (throws exception in case of non-comparable)