libraries/singularity: addRepoPRJob() fx

Also added a test & cleaned up some code. "cleaned".
cfg route & actually filled in tests for singularity