Add a %q format -- package architecture
Use the new %q format to print the package architecture.
Add tests for %q -- package architecture
pkg_printf()-ify
pkg which -- pkg_printf()-ify