Fix test subprojects so that they are not built in-source.
Merge remote-tracking branch 'origin/master'
Added sbt build configuration for native code gen.