don't delete node.push in autoMergeDocument, fix #645
Merge pull request #647 from remotestorage/bug/645-dont_delete_push_in_autoMergeDocument

don't delete node.push in autoMergeDocument
move check outside forEach loop
Merge pull request #658 from remotestorage/bug/656-dispatchEvent_inefficient_looping

Move check outside forEach loop (closes #656)
Merge pull request #1 from remotestorage/master

Update from original