Fix maven compile problem.
Update to elasticsearch 0.90.2.
Fix test case to work on Windows.