Fix gentests dependences, broken by extracting out scalactic macros.

Compilation of generated test projects fail due to errors such as:

  exception during macro expansion: 
    [error] java.lang.ClassNotFoundException: org.scalactic.BooleanMacro

See, e.g. https://travis-ci.org/scalatest/scalatest/jobs/44572339

This was caused by #457