Add CSP nonce-source support

closing this now that we have proper CSP merged in thanks to @xrav3nz and are inching centimeters from turning on full on CSP in meta!