Cleaning: define MXEventDirection in MXEvent.h to limit build dependencies. Plus, MXEvent.h is already included in most places
BF: Store events from the initialSync as past events