Jabber Gateway Hipchat compatibility improvements

fixes #557, #558, #559
Any reason for having the regex on the left there? Would ```jid.include?("/")``` be simpler?