[WIP] s/EntityManager/EntityManagerInterface in type-hints

This is a major BC break.