Avoid loading Scala compiler in process when testing with the daemon to conserve permgen.

+review REVIEW-5106