SERVER-14118 - Added  ability to  detect if _id is missing when  passing an object to r...

...s.add, if missing add it automatically  as if it was a string that had been passed.
For that matter undefined == null in javascript (but it is not the case that undefined === null).  You could also use "cfg._id != null" and be done with it.