Added EPSG:31467 and 31468 as they seem to be default QGIS crs.
Imported _view/types-fields from toolkit.
Map now shows a different polygon color for each doc type.
Changed listener to move clicked shape to the back.

This seems the easiest solution to polygons obstructing one another. There is
no easy way to determine if polys are contained within other polys and then
give those high zIndexes. Also I used negative unix time as a constantly
decreasing zIndex because there is no way around a global object, so I might as
well use Date().
Added a doc type filter form.

It just needs an extra handler and we are good to go.
Fixed wrong bracked in _list/bbox-filter