Give PR validation a hook to tell dbuild where to resolve scala from

Tested (as part of IDE validation) here: https://scala-webapps.epfl.ch/jenkins/view/pr-validators/job/pr-scala-integrate-ide/3880/console