Update scripting.asciidoc

I was confused for a while why I couldn't access an object-valued field in a script using doc[...] until I found the explanation in the Script Fields documentation (http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-script-fields.html). I basically just copied the explanation from that page and added it here.