pkg/lib: add `#:catalogs` & `#:set-catalogs?` args to `pkg-catalog-update-local`

These additions allow the GUI package manager to use `pkg-catalog-upload-local`
instead of having a its own copy of the same opertation. Not surprisingly,
with two copies of the code, the `pkg/lib` copy was missing support for tags.