Fixes bug in variable spec & deps ordering
Fixes bug in variable spec & deps ordering

Before, modulefiles would end up containing literal '\n'. :sigh:

Also, conflicts and prerequisites would be reversed, which seemed just a
little unhelpful/counterintuitive.

UCL-RITS/rcps-buildscripts,UCL-RITS/rcps-buildscripts,UCL-RITS/rcps-buildscripts,UCL-RITS/rcps-buildscripts,UCL-RITS/rcps-buildscripts