add principal investigator to report output.  In the process this also adds some url escaping and a bugfix in collaborating organisation url building