disconnect from repository before libgit2 shutdown
If the connection to the git repository was not closed before deleting the CondDB instance, the libgit2 library state was destroyed before the repository was released, resulting in an abort by assertion or a segfault.
Closes #19 (closed)
Edited by Marco Clemencic