Add a helper function for building package args when installing/deinstalling
Add query_autoremove() method
Add a query_upgrade() method