Adds PDO::inTransaction. Issue #1560.