add terms based scoring scripts

Examples for term based script scoring in a native script.
See also
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-advanced-scripting.html

This adds scripts for

- cosime similarity
- tfidf
- language model scoring
- simple phrase scorer