Project model: take into account "exported" Scala SDKs
(cherry picked from commit cc7a350)
ScalaBuilder: misc
(cherry picked from commit 0cb96ee)