Changed check of ID existence before persisting in order to allow elasti...

...csearch create its own ids

It is possible to omit the id for elasticsearch. It will then create its own id. The elastica client does this if you give it an empty string as id. Unfortunately the doctrine/search lib will not accept an empty string, so I changed line 196 in order allow empty strings.