Add a bunch of scalac flags.

https://tpolecat.github.io/2014/04/11/scalac-flags.html