Add support for the working draft script-nonce directive.

An example use would be:

  :script_nonce => lambda { params[:script_nonce] = SecureRandom.hex(16) },
Merge pull request #47 from coderanger/master

Script-nonce support