ported sontm and mvcc to XBEGIN/XEND api, made startTrx virtual, made analysis function virtual, minor fixes in zsim to support the 2 algos