Added ability to get branches for git and hg repos.
Added blank configuration so the projects can be added and removed
correctly.