NXCALS-1866 fix for the optimistic locking and other errors.
#Merge request template @acc-logging-team - please have a look for approval.
This is introducing a default repeat factor 10 for the failed calls from service-client to service for findOrCreateEntity and fixing the bug for handling entity history. It is also lowering the log level to warn for certain messages that are not NXCALS error but more client/data problems.
Closes NXCALS-1866