Add support for the working draft script-nonce directive.

An example use would be:

  :script_nonce => lambda { params[:script_nonce] = SecureRandom.hex(16) },