Sprnet 1568

HibernateTransactionManager does not honor the transaction timeout:
These changes should ensure that the transaction is not committed if the deadline has passed.

I have added and updated the and these tests pass in my environment but almost all the other test cases in that fixture fail. However, this was also the case before my changes.

I have updated the HibernateTxScopeTransactionManager in the same manner, but I'm not sure if there is anything else needed there as I have not used that class anything.

In addition, the exception handling in DoCommit was cleaned up to improve readability (it should behave exactly as before) and the checkTransactionTimeout method of ResourceHolderSupport was converted into a public method because otherwise the only way to trigger an exception on timeout was to check the value of  one of the properties TimeToLiveInSeconds or TimeToLiveInMilliseconds, which seemed very unintuitive to me.