HSEARCH-1734 The locking_strategy property is ignored when using the Inf...

...inispan Directory

This is the version for branch 4.4. I'll need to do some adjustments for 4.5 and master, so I'll do that after the review.