Feature/elasticsearch update

This updates elasticsearch to 1.2.2 and explicitly disables the dynamic scripting functionality.