Merge pull request #34 from sonian/eng-3896-es-0.90

Updates for ElasticSearch 0.90.0 release.
Allow Ajax requests based on the CORS "preflight" request
Add support for cross-origin Ajax requests (CORS)