Add ability to retry on conflict during upsert, both bulk and regular

If there are simultaneous updates to a single document, Elasticsearch has the potential to raise either `VersionConflictEngineException` or `DocumentAlreadyExistsException`. This pull request exposes the retry flag that instructs ES to automatically catch and retry updates that raise either exception.