Generate cmake config

With this using libgit2 from cmake becomes trivial.
It is then enough to use find_package(LibQGit2) without any Find*.cmake
files.