Make the index striped locks size configurable

When the receiver node is reindexing entities, the striped lock assures isolation
for the same entity id.

Introduce a new configuration parameter index.numStripedLocks to tune the
number of striped locks to use to avoid deadlocking between different threads
reindexing different entities.

Previous value was hardcoded to 10 locks, which is way too little for medium to
large-size installation with substantial parallelism of change reindexing.

Bug: Issue 10181
Change-Id: I32e19a090cac0b02f4c5a5269d652f3ebafbba24
10 files changed