add user agent
add package version for user agent
use require to parse package.json
Merge pull request #38 from chemzqm/master

github oauth验证现在必须要有user-agent请求头，否则报错