Membership API support

Per https://developer.github.com/changes/2014-09-23-one-more-week-before-the-add-team-member-api-breaking-change/.