Add support for transactions; fix tracking RecordSet\Buffered dirty
state; clean up PHPDoc comments