Convert sbt configuration to a simpler build.sbt setup.

The original sbt build used a Build.scala file, which contained a lot of complexity.  To simplify the
build setup, the functionality of that file has been migrated to a top-level build.sbt script.