package[_repo] list: reduce code duplication

Introduce helper class PackageInfoPrinter that does the printing and is
used by both commands.
package list: add option '-i' to list only the meta info
package list: also support package info files
Add package architecture constant for x86-64