Upgrade codebase to elasticsearch 0.90.1