ISPN-3055 Unreleased lock after node restart

https://issues.jboss.org/browse/ISPN-3055

(maybe it is needed to change the JIRA title because the bug has nothing to do with the node restart)

notes:
 * the bug was caused because the ```RollbackCommand``` was not sent in pessimistic mode.
 * I'm keep tracking when the ```PrepareCommand``` is sent or not to know when we must send the ```RollbackCommand``
 * The code already exist for Total Order based implementation.