Show first point coordinates of shape normalized.

Shape coordinate of the first point is now also shown in normalized
coordinates to make it easier to build/update templates by hand.
Export settings into template files

Templates can now be read and written, but only as a whole. No partly
updating of templates, e.g. to only update regions, but not objects.
Unused serial port data in template files.

Serial port information written to template. Next up: Use that to
connect/disconnect to ports and distribute magnetic pins.