fix nondeterministic build problem

The whole SBT test script is run inside SBT. Hence, when creating a Git
repository after SBT has been started, the project has to be reloaded
so that the release plugin can pick up the repository.

For some reason, this worked fine on my machine.
add Travis badge