Remove from the queue when it is done
Added tests for deferred references
Improved @Deferred

1. Keep in track of every change as in non deferred references, but instead of applying them it is queued until some worker can pick them up.
2. The worker produces one *update* per document and now it works with nested objects (even duplictes)
3. All operations in the worker happens using primary key to avoid locking