Scala/sbt: Export SBT_OPTS and JVM_OPTS

This is *Part 1* to fix travis-ci/travis-cookbooks#234.