Fix the template title parsing and some other bugbot issues
Alternative fix to !39 (closed) simply because I didn't notice that one until I finished with this implementation, sorry.
This introduces a Bot
class that is passed around, which reduces some of the current damspam/bugbot duplication to just those two bots and the respective bot instance is then passed around everywhere else.
Planning to push this tomorrow when I have time to test it and possibly revert any bugs, getting too late for this today.