add new team membership API endpoints

Github deprecated the old API :https://developer.github.com/changes/2014-09-23-one-more-week-before-the-add-team-member-api-breaking-change/
aa54830