Emit stateChanged only if state really changed
Fixed MUCRoom::leave logic

In case if connection is destroyed before we really leaved the room