Initial setup for deadlock retry

Added configuration settings for deadlock retry count and retry sleep time
Added loop around UOW commit transaction part that retries on deadlock situations