Update to 1.4.1
Fix all but one test: testMasterSwitchDuringSessionExpiration

Based on ElasticSearch commit:
https://github.com/elasticsearch/elasticsearch/commit/db54e9c2d5d5fc3405cf29a4f92ef56ccc17b4dd