Implement the explain API

http://www.elasticsearch.org/guide/reference/api/explain.html