fix typo in gh_api.get_pulls_list
teach github_stats about milestones

now that we are doing pretty well in terms of marking issues.
Merge pull request #5431 from minrk/gh_api

update github_stats and gh_api for 2.0