Moved CSS and JS resouce definitions in the core so that clients or modules can easily add resources to the list using a late stage post processor
(cherry picked from commit eb1a02e5c26a6a1e9881755bebdd0ddd2af77499)