[2.0] Moved beginTransaction() in UnitOfWork#commit() out of the try block so that exceptions occuring during prior or on transaction start are not masked by another exception.
[2.0] Moved beginTransaction() in UnitOfWork#commit() out of the try block so that exceptions occuring during prior or on transaction start are not masked by another exception.

git-svn-id: c8c49e1140e1cd2a8fb163f3c2b0f6eec231a71d@6260 625475ce-881a-0410-a577-b389adb331d8

bkw/doctrine