Added list processing and initial tests.
The list processing now detects duplicate keys - tests for way and
relation deletions have been moved there.