add ScalaTest as dependency
fix bug when CWD is the root directory; used a workaround in GitStatus since JGit's strange behavior when trying to open the root directory, see TODO in GitStatus
added tests for GitStatus