Added more robust scala build to allow for future clean releases, and publish settings for later integration. 

Added more robust scala build to allow for future clean releases, and publish settings for later integration. 
I said goodbye to junit a few years ago and never used it in sbt however I can get it working.