Renamed CommitError to TransactionError

Renaming of the CommitError to TransactionError discussed  in Issue #59.