Added dirty object tests.
Added dirty object to raise TransactionError when not saved or reset.
Implemented dirty object and improved tests.
Updadet documentation.