EC_Script lib: remove inclusions of StableHeaders.h as the lib doesn't use PCH.
EnvironmentModule plugin: do not use PCH (such a small plugin nowadays).
Add AddComponentDialog::TypeId.
Optimize AddComponentCommand a bit using by using component type ID instead of type name.