added getCommits code

Hi @PascalPrecht,

Thanks for a great adapter. I've added functionality to connect with github.js's getCommits section.

Hope this helps,
Scott