fetch all branches

Move parseLinkHeader to util.js, set ?per_page=100 for branches collection url and parse link headers to fetch all branches (instead of just the first 30).