Implement new_edits flag on bulk updates

Will include further commits to implement new_edits flag - at the moment just has a failing test for revision IDs on bulk doc updates.
It would be better/safer to use this syntax instead: `$entity->{$name} = $value`