Transactionsqueue - Rerun transactions worker script

Hi @rcrichton and @devcritter. When you guys get a chance please have a look at the code that was added for the transactions rerun process. Thanks
Again, not sure if this numberAffected is needed.