Configurable attribute for dynamic marker colors (p1)

- move ColorMapper to shared AppState
- add a setting for the selected attribute
Configurable attribute for dyn. marker colors (p2)

LegendView: replace hardcoded scale properties with ones from the
ColorMapper in use for rendering
Fix a double-rendering issue, caused by event handler calling updateMarkerColors() too