Also add transaction handling to ConnectTip and DisconnectTip and a few other places where blocks are processed.