Add functions for getting room upgrade history and leaving those rooms
Add functions for getting room upgrade history and leaving those rooms

Required for https://github.com/vector-im/riot-web/issues/8539
matrix-org/matrix-js-sdk,matrix-org/matrix-js-sdk,matrix-org/matrix-js-sdk,matrix-org/matrix-js-sdk