find_all_packages should return a pkgcache, not a list
small refactoring
find_all_packages should unlink to preserve -cc
Merge branch 'master' into file-pkgcache

* master:
  refactor variable names
  deduplicate repo writing and signing
  deduplicate database reading / cleaning

Conflicts:
	repoman.c
Merge branch 'master' into file-pkgcache

* master:
  we can only safely skip '.db'
  fix up signing
  restructure path handling
  make it possible to cache the filelist eventually
  have the contents of a database be configurable
  oops, needs to be double pointer
  kill alpm_db_meta_t, just store the pkgcache itself
  all entries should be added for files
  free lists properly
  add support for --files
  reduce_db shouldn't be removing files since they won't exist
  show pkgver when removing

Conflicts:
	repoman.c
Merge branch 'master' into file-pkgcache

* master:
  better check if a package is now signed
  oops, new default archives have corrupt extensions
always make a cache of local packages
read the files db if present (check signature too)
refactoring
Merge branch 'file-pkgcache'

* file-pkgcache:
  refactoring
  read the files db if present (check signature too)
  always make a cache of local packages
  find_all_packages should unlink to preserve -cc
  small refactoring
  find_all_packages should return a pkgcache, not a list