Provide test path info to compiler.

Also fixed issue with "system" scoped depends (which require some magic to
resolve their artifact). I should probably put this in POMUtil...