KRACOEUS-8443: adding transactions to controllers, fixing pessimistic loc...

...k service for jpa

Here is another shot at putting @Transactional on Controllers.  In testing this locally the only issue I ran into was with pessimistic locks, which I have fixed.  I haven't ran into any white screens or other similar issues.
Null lock issue? Are there lock descriptors that have null in them being generated atm? If so, that needs to be fixed. I think we fixed a similar issue in 5.2.1. I was just curious what's going on, do not wait on my response on future comments please, I am just boarding.