Added MSC4354 sticky events, behind the `allow_sticky_events` config option. Contributed by @eleboucher.