refactor/cleanup Bugzilla.java and add a new RepositoryService for getting branches.