libpacman: Add Database::add_server to simplify pacman_db_setserver (remove an overly complicated check in it to ensure the validity of the db handle, and that is not really necessary).
libpacman: Make Database::treename only available via accessor.
libpacman: Add an iterator class to FCPtrList.
libpacman: Make code more list iterator aware.