LUCENE-710: add optional autoCommit=true/false mode and customizable IndexDeletionPolicy to IndexWriter