Fix path lookup for css files
Add default r.js module if not set
Ignore debug flag for now

Debug mode would mean not adding js dependencies to have the single
files picked up. There's a difference between core and plugin file
organization ATM, so r.js lookup won't work here. (/static/js vs. /js)