Update compare_base.py after first review

* Introduce a local pacman DB in ./.pacman-db directory, to always get
  the latest available package versions.
* Add a command-line option to use the system package DB (--system-db)
* Improve few warning/error messages
* Update base_pkglist.txt
* Fix some typos