Wrap git exceptions into spark exception.
Make GitException string constants.
Cleanup spark exception code.
fix.
comment.
Merge pull request #2526 from dart-lang/spark_exception_cleanup

Spark exception cleanup