Enable usage of dcs with multiple git repositories

These patches enable usage of debian code search outside of the original scope - multiple git repositories. It's possible to disable database usage (originally it was used for ranking the results based on debian package popularity contest - not handy when there are no debian packages) and it's possible to specify non-standard tmp folder - it gets filled up very quickly when indexing large codebases.