Work around GPRESOURCES-176
Remove commented out code
Support for across trial nodes

Also cleaned uup some stuff in the survival analysis (just because I
happened to stumble upon it) and cleared some naming confusion ("concept
code" was being used to describe concept paths).
Merge pull request #21 from thehyve/for_ts_master

Support implementation of cross trial in core-db