Added validating assertions for mutex calls
Merge commit '1cf60c3ac6a7ef3b04aa149d93d5a94f5b13a4f8' into paxos-connector