Allow downloading source tarball or cloning git repo.  Changes to allow build for scala 2.10.