Remove components from an entity that is about to be removed, to signal the component removals properly.
Added RemoveAllComponents() to Entity.
Fixed wrong console print in ReplicationTest script code.