HSEARCH-1365 & HSEARCH-1459

Reworked pull request. Unwanted commits removed and added a JGroups backend Log interface.