BUG: Fixed github stats retrieval

Currently urllib is used to retrieve a json file from Github, however
Github url used is not static url, urllib2 required to retrieve
information from Github.
Merge pull request #2406 from cpelley/fixed_stats-retrieve

BUG: Fixed github stats retrieval