attributes get saved from render and merged to osm

Currently it doesn't support adding new stub resources via render modes,
but that will be easy to add. Also need to add support to push updated
render colors for existing resources back to the OSM file.