Implement releases in git-rebase

Note: the parameter repository needs to be set to make this work.
Cleanup releases.
Refactor tar gz to reuse function.
Refactor cleaning up releases to a common function.
Also use common code in RsyncTask
Merge pull request #87 from WouterSioen/git-rebase-with-releases

Make the git rebase strategy work with releases