Optimistic tx semantics

Work complete for optimistic transaction semantics
https://issues.apache.org/jira/browse/USERGRID-52