Support testing of components nested within project
A couple of tweaks here support cases where components (as listed in ModuleDB) are one or more directories deep within the project. Branch is based on !6 (merged) to avoid the need to rebase if both MRs are accepted unchanged.
Tested using TCPIPLibs.