Add CSP nonce-source support

Cool, that sounds sensible to me.

This approach means there’s much less CSP “special sauce” going on, so my experience getting knee deep in the stuff is less valuable, but @xrav3nz and @Osama if you want to run anything past an extra pair of eyes, please feel free. :slight_smile: