Fixes for bugs found during tests.
Merge branch '3.0' of github.com:hazelcast/hazelcast into 3.0

Conflicts:
	hazelcast/src/main/java/com/hazelcast/map/PartitionRecordStore.java