node register: write configuration with regexp, not configparser

this retains comments and avoids issues with unicode, multiline values
(certificates) etc.etc.
Merge remote-tracking branch 'origin/token-auth'

Conflicts:
	slapos/cli/register.py