Added a global ignore_malformed index setting. #2220 Also extended the ignore_malformed support to TTL, Ip and timestamp field types.
Added fields option to explain api. #2203
Fix reversed ShingleFilter constructor arguments
move spatial4j and jts to be optional dependencies
allowing data and client nodes to work without them, disabling shapes if needed
use java to when no JAVA_HOME defined
remove using "which java", which will give a better error message when java is not available
Update Settings API: Allow body request to be wrapped with `settings` element to conform with other APIs, closes #2227.
upgrade to guava 13.0.1
Upgrade to mvel 2.1.1, closes #2228.
Shard Allocation: `index.routing.allocation....` settings do not "remove" the setting on empty string, closes #2229.
upgrade to maven surefire 2.12.3
fix logging if millisecond value in load field data
Nodes level API: Allow to specify `data:true` to only execute the APIs on data nodes, closes #2232
Throw MapperParserException if trying to parse value as object.
handle EOF when handling arrays as well
Fixed no valid missing index type error.
Upgrade to LZF 0.9.6
IndexMetaData.Builder.Index(String name) isn't renaming this.index
fixed #2236.
Added proper headers for cross-origin resource sharing (CORS) with Ajax

Previously, when responding to Ajax requests, elasticsearch did not send proper headers for
cross-origin resource sharing (CORS) -- see issues #828, #2186.

With this commit, Ajax requests should be working. Example:

    jQuery.ajax({
      url: "http://localhost:9200/_search",
      type: "POST",
      contentType: 'application/json; charset=UTF-8',
      success: function(data) { console.log(data) }
    });

See:

* http://www.nczonline.net/blog/2010/05/25/cross-domain-ajax-with-cross-origin-resource-sharing/
* http://www.w3.org/TR/cors/#access-control-allow-headers-response-header

Closes #2186, fixes #828
allow to configure cors on http
Allow to configure cors on http, if its enabled or not, and what it should output
add field with text/bytes and builder string