gh-463 Fix corruption of index shards.
gh-463 Fix corruption of index shards.

Made further improvements to the index shard writer cache to improve
performance.

gchq/stroom,gchq/stroom,gchq/stroom,gchq/stroom,gchq/stroom,gchq/stroom