Moved code from Record to Table.
Added handling of committed values.
Added savepoints.
Extracted nested classes from Table.