call sc.stop() in accordance with spark 0.8

Hullo,

This pull request adds a corresponding `sc.stop()` for each `val sc = new SparkContext(...)`

to avoid `address already in use` errors that come up running `./sbt/sbt test` against the current version of spark.