Move usertracking-related functionality into a separate module
(I just felt bot.py had grown too big)

Also use WHOX to learn account names if it's available