[WIP] Better ID Generation

- Removed scheduled extra updates.
- Move ID generation to UnitOfWork::persistNew()
- Throw exception when DocumentManager::createDBRef() is called on an object without an identifier.
- Remove concept of postInsertIds in UnitOfWork and DocumentPersister.