Another attempt at fixing the synchronization

- Add separate methods for creating local and remove players to the entity factory
- Change to use all dependencies through the state in the entity factory on the client
Merge branch 'hotfix/0.11.2'