Fix conventions.assets for stuff like styles/img. Closes gh-533.
Allow returning null from compilers. Closes gh-557.