Enhancement: Implemented support to upgrade versioned database schemes
Fix: Fixed "TransactionContext" not releasing the connection lock after
an exception