Properly update retried request in case of node failure

Relates #211

(cherry picked from commit 4969e90adfdc2b8c351cb5e3a31df825050abdaa)
Upgrade to ES 1.2.1

(cherry picked from commit 076ebc6308712f57661b1c75e1966c882030a478)
Improve test run

(cherry picked from commit 828758a6b5db2d7802ae655034684576566bac3e)

Conflicts:
	hive/src/itest/java/org/elasticsearch/hadoop/integration/hive/AbstractHiveExtraTests.java
Fix duplicated data in test

(cherry picked from commit fb10ea702125315ce45b114dbe1cfb389598f9b3)
Improve detection of old Jackson versions

Fix #215

(cherry picked from commit a9973cf6611c307372062ea80a614fd3ea0e4d5a)
Improve support of old/ancient Jackson version (1.5)

Backport ObjectReader from Jackson to 1.5 for easy, non-initializing
parsing of the json doc

fix #215

(cherry picked from commit c621b999a288626dbd83e22b3b463c1063fd3c42)
Revert jackson to 1.8.8 in build files

(cherry picked from commit bb4c2ddd8967af7c51e06ec36a93d64f19a467df)
Fix invalid request when using both dynamic and custom headers

close #218

(cherry picked from commit 81dd5db22dc24a18fc0c23bba8b64f34b170d914)
Remove incorrect imports

close #219

(cherry picked from commit 5a1f1af241d6db36fb39524ac00d86742771c91d)
Fix incorrect assertion

(cherry picked from commit e1e7897e1ae93b239d554bee48037580cac31cd2)
Update test suite to prevent OOMs

Minimize data set to reduce memory pressure

(cherry picked from commit 4c7862128d6f52e22e6fb08415a42cd31adb3282)
Extract invalid json fragment within the exception message

Fix #217

(cherry picked from commit c33b703d028143aa7c83f39b948737538055cf99)
Improve error message

(cherry picked from commit 25242d1c6775d43766075ee7e99416a6fe15c85f)
[DOCS] add Spark section

(cherry picked from commit 3626ba37b07929ff392583ae6b202f2429840907)
[DOC] Improve formatting

(cherry picked from commit 0d0b95c9001f0e9276d473c941b86bbec504c2a6)
Update scala example

(cherry picked from commit 8509824e7c3681e4d27ac5ca93862178a6c0d9cc)
Upgrade Pig to 0.13 and ES to 1.2.2

Fixes #227

(cherry picked from commit 1a2f85b39f180f1cac48c054e8c7bb265b84d29f)
Add tests with JSON arrays

(cherry picked from commit f11cd329b7fed814313ccf05707ce0104134168d)
Add explanation about failing field extractions

Explain what fields are not found and also the target data set to
improve debugging.

related to #228

(cherry picked from commit c14137bd07b2faea7a742c5db6c0272ffa6c18a6)
Minor refactoring plus test improvements

(cherry picked from commit eba56324627e8e52cfc87a327883704622459031)