add transaction management to Query/QueryInterface.
create begin, commit, and rollback methods in Query, and pdo() method in DbAccess.