Writing require modules when running in `r.js`

Adding ability to write require modules that will load CSS content into style nodes

https://github.com/guybedford/require-css/issues/169
We need to track this with a separate boolean that is reset for each layer in `onLayerEnd` for the case of layered builds.