Separate module definition for addModuleStyles
Follow-up to I7d9e793b4b36a9ca3f5da75480ad89cddf7d5bf8
Fixing the issue of modules that contain both JS and CSS
and how they interact with addModuleStyles. Since we don't want
the position definition to affect modules when they are added
normally (without addModuleStyles), we have to separate them when
they have a dual purpose.
Depends on Ie4287e17d6f298cc63f42f257b1f67ee36961b77