use elasticsearch version 0.90.8 and move from testNG to junit

- use ElasticSearchIntegrationTest
- use ElasticsearchAssertions
- index random
fix doc values lookup

Check isEmpty() before casting to Longs or Strings. If a segment does
not conatain any document with the looked up field, the lookup will
return an instance of Empty instead of Longs/Strings that contains no
value. The search will then fail with a ClassCastException.
fix popularity test

The doc rec-0 got the same score as rec5-9 so rec0 cannot
be assumed to be at osition 5 when retrieving result.
Adding 1 to the "number" field fixes that.
Add -s flag to curl requests in the sample scripts
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
Add -s flag to curl requests in the termscoring script
Fix LookupScriptTests mappings
Upgrade to ES-1.2.0
fix number of shards settings

indexSettings() must be changed to make sure no of shards is 1.
These index settings are ignored when set via nodeSettings() method.
See https://github.com/elasticsearch/elasticsearch/commit/d5aaa90f3466872d2e45a4df4db79ce182100f07