Support existing history in bridged Gitter rooms on Matrix

Support existing history in bridged Gitter rooms on Matrix.

There is currently MSC2716: Incrementally importing history into existing rooms which adds this functionality for Application Service (AS) bridges to support existing history. We need to wait until this goes golden in the spec.

Edited by Eric Eastwood