Converting code-block to doctest in datastore.transaction.
Converting code-block to doctest in datastore.transaction.

In the process, adding a Config.TO_DELETE runtime list so
that test cleanup can handle any loose objects created.

googleapis/python-datastore,googleapis/python-datastore