Changed the way the paginator works

Changes to be committed:
	modified:   git-client/src/test/java/nl/tudelft/ewi/git/client/RepositoriesMock.java
	modified:   git-models/src/main/java/nl/tudelft/ewi/git/models/DetailedBranchModel.java
	modified:   git-server/src/main/java/nl/tudelft/ewi/git/web/RepositoriesApi.java