Update to elasticsearch 0.90.5 and fix test cases.
Merge pull request #73 from markwoon/0.90.5

Update to elasticsearch 0.90.5 and fix test cases.