Jabber Gateway Hipchat compatibility improvements

fixes #557, #558, #559
Probably not really an issue until v2.0 at the earliest, given that our usage of EventMachine hobbles the reloading code to the point of uselessness.