A crappy draft of what has been in the previous function.

It is the same logic, but restricted to rows that have the same key:
- Check if we have a document that the old geometry can be safely stored into,
- otherwhise just remove the type attribute, and
- successively replace GeoJSON clones where needed.
Absorbed a couple of off-by-one indexes into r.
Added special GeoJSON_clone to #modify div on geometry relay.
Unstaged unchanged documents from bulk upload.

Same explanation as in f54fbfb433c17d but this time I tagged new documents as
'unchanged' and removed the tag as they are modified.
This removes the 'unchanged' tag from the acceptor as well.
Added a default title to each document link.
Fixed a bunch of typos that came up during 1st walk-through.
Fixed an infinite loop that came up in the 2nd walk-through.

Using 'continue' to ignore the rest of the loop is pretty stupid, considering
that it also skips iteration.
This looks nicer because it has a move obvious structure.
Removed acceptor from rows before the slice is processed.

This performs worse but it makes me look like I a crafty programmer.
Placed some comments more appropriately.
This is how the loop was intended from the very beginning.

I may only set r to its predecessor if the preceding key is identical to this
one. r-- evaluates false-ish only if r===0, but in this case the preceding key
is undefined anyway, so the lazy evaluation won't reach the statement.
The other problem is, of course, that it is a waste of time for anyone that has
to read though it.
Switched variable from 'keys' to 'doc_ids'.