Add mimetype support to compare() so diff/patches can be fetched

The github API supports using mimetypes on patch/diff requests.  This allows consumers to pull down a patch for a commit.  This is documented at http://developer.github.com/v3/media/#commits-commit-comparison-and-pull-requests

This patch gives users access to this feature via the library.