getCommitErrors() to return `commits` as third parameter

I was wondering if we could pass `commits` as the third parameter of the getCommitErrors()'s returned function. So, it would allow https://github.com/rxaviers/grunt-dco/pull/1 without needing to call getCommits() twice.