Add a possibility to push a statement to a transaction

Targets #284
Will break if `t->cmds->n == 0`. Do `t->cmds->next +1 >= t->cmds->n` instead.