Reset compilation errors before running an sbt command

Previously, old errors were mixed with new errors, which made
a mess of things.
Merge pull request #10 from edani/fix-sbt-compile

Reset compilation errors before running an sbt command