Added script parameter to MongoDB river.
Added score_mode parameter to HasChildQuery and HasParentQuery.
Fixed order in TermsAgg to be compliant with ES 1.2.x.