Error Treatment

Added error treatment in Transactions.
Implemented valid? method and attribute "errors".