tests of map Lock Key then map clear
tests of map Lock Key then map clear
remove imports
combined tests.   added a test for clear with locked keys, under a node loss situation
fixes #2410 . Resources(Lock etc...) were not cleaning properly, when client and owner node of client dies together.
cleanup in related requests & operations
Fix HazelcastHttpSession's setAttribute() with null value

HttpSession.setAttribute() should work with null value the same as removeAttribute(). Changed from throwing an exception to delegate call to removeAttribute()
fix after cleanup attempt
Fixed IMap replace() always generating ADDED events.
This should only ever generate UPDATED events if successful.
This seems to have regressed in Hazelcast 3.0.
Hazelcast 2.x seems to have only generated UPDATED events, see https://github.com/hazelcast/hazelcast/issues/418
Added a test that verifies that the old behavior is broken and the new behavior works.
Use assertTrueEventually in the test, as events may be delayed.
Look for invokable method when configuring by reflection.
Added proper comment
Doubled length value and added check if both values are the same which is unlikely to happen for wrong or broken packages
#2064 Pass HazelcastInstance to LocalRegionCache constructors.

- Added a new constructor to LocalRegionCache to allow explicit control
  over whether an ITopic MessageListener should be registered
- Fixed a subtle bug in LocalRegionCache.cleanup() that prevented
  multiple entries with the same timestamp from being cleaned up
  - Using a TreeSet meant only a single entry at any given timestamp
    could be considered as a candidate for eviction; subsequent entries
    were "protected" because they weren't added to the TreeSet
- Updated HazelcastQueryResultsRegion to use the new constructor so that
  the HazelcastInstance can be passed on (allow query caches to inherit
  their MapConfigs) without registering a MessageListener
- Added unit tests to verify both LocalRegionCache constructors
- Added unit test to verify HazelcastQueryResultsRegion creates
  LocalRegionCaches which honor their configurations
Added unittest
map.replace fire's an Entry ADDED event.  which is not very intuitive,  as replace, sounds like it should be and UPDATE event
fixes#2754 improve invokeOnPartitions() method
create method for Partition Set
First round of SecurityInterceptor
Only map requests are implemented necessary methods