add github authentication ot request
move github auth into its own function
Merge pull request #237 from treygriffith/rate-limiting

Github authenticate API requests