LDEV-2071, LDEV-2201, LDEV-57: Changed the Transaction Manager to Hibernate instead of JTA. Synchronized code in 2 more spots as deadlock exceptions had been thrown.
LDEV-2261 Setting a flag in gradebook activities so that they can be updated more than once if hte request comes from an external source like a tool. If it is set in gradebook, the flag is set so it cant be updated from an external source again