Modify the EditFilterHookRunner so that we are able to construct it without passing a context, we can do this by passing the context into run instead and using that context to obtain the user. See WIP in 679751.
This probably involves changing MediawikiEditEntityFactory::newEditEntity to accept a context parameter instead of the first user parameter.