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

...ansaction. Also fixed a defect on transactionalMap.containsKey(). Fixes #3191