Improve assertions; require outputFile to have leading slash
Add note, fix signature
Use a separate StaticFileCompiler instead of staticFiles option

This gives us more flexibility to extend things later, and allows us to
have multiple such compilers to copy static files around.