closes #860, add test cases, bring retrying back for updates and inserts in oplog_helpers.cpp