Add _pygit2 constants for libgit2 version information.
Add pygit2.__libgit2_version__ to retrieve git_libgit2_version() info.
Use libgit2 LIBGIT2_VER* constants directly instead of git_libgit2_version() call.
Merge remote-tracking branch 'cboos/libgit2_version'