#18: write_setuprc() now close to final

* extend docstring, remove test fname
+ leave out empty values completely
+ update rc dict from globals (note: these globals are still being read
  from the old non-rc config files though!)