STREAMS-72 - Updated Elasticsearch and LocalStreamBuilder

This makes significant changes to the LocalStreamBuilder and associated tasks, as well as the ElasticsearchPersistWriter Locking