ISPN-3124 AtomicHashMap.put is not atomic with pessimistic locking

https://issues.jboss.org/browse/ISPN-3124

I deprecated FlagContainer and removed it from the signature of several
internal AtomicMap methods.