eb-6981: fixing compilation errors in AutocompleteCacheUtil

cleaned up error handling, throw early / catch late
added additional defensive checks for transaction rollback / commit
Merge remote-tracking branch 'origin/prodsupport' into hardening_r15
Merge remote-tracking branch 'upstream/hardening_r15' into hardening_r15