Made map.get() and map.containsKey() lock aware when the key is under tr...

...ansaction. Also fixed a defect on transactionalMap.containsKey(). Fixes #3191
EmptyFuture can probably be avoided if `Mockito.mock(Future.class);` is used.