Minor refactoring on TextDocProducerBatch, plus ensuring that tests pass
Bump version to 1.1-SNAPSHOT