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.
seems like an okay work around until the null document issue can be resolved, however, when there is a null lock generated its doesn't really do any locking.  locks with the correct descriptors can still be generated, and the user with the null lock and the user with the correct lock can still edit at the same time.