Respect max_results & start_at when getting all project issues

And DRY things up while we're at it