Allow empty id if not a mongoose document....

id will then be autogenerated by mongolastic. This is used for logfiles.

Signed-off-by: Dominic Böttger <Dominic.Boettger@inspirationlabs.com>
Merge remote-tracking branch 'origin/master'