ZOOKEEPER-1558. Leader should not snapshot uncommitted state (fpj)



git-svn-id: https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1533725 13f79535-47bb-0310-9956-ffa450edef68