plugins/muc: Add room:has_occupant() method