Add config option for repocache git-fetch refs hack

New config file option 'repo-cache-refs-hack' for enabling refs hack in
gbp-repocache. The option is disabled, by default.

Enabling the hack makes it possible to fetch/clone remote repositories
that have branches (refs/heads/*) that point to tag objects. This is
possible in Gerrit repositories - "pure" Git repositories managed
by Git tools shouldn't have such branches as Git sanity checking
prevents them (which is the reason this hack is needed).

Change-Id: Ic3a1814975f3c11d6c01734416f64347b9c73986
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Remove the log tmpfile handler before closing the file

Makes sure that logger does not try to write to a closed file.

Change-Id: Ib746bb80cd0c024535bfa285a78b17fdc7e551a5
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Document and release version 0.7

Change-Id: Ia9b78baab352f601b90a5def26151d8deaf2c1d2