HBASE-12574 Update replication metrics to not do so many map look ups.
HBASE-12611 Create autoCommit() method and remove clearBufferOnFail (Solomon Duskis)