cli: simplify exception handling more.
tests: cosmetic: conf.protected_packages is ignored, drop it in FakeConf.
api: add basic documentation for dnf.package.Package.
api: expose Transaction introspecting in the API. (RhBug:1067156)
api: plugins: add the resolved() hook.

Related: RhBug:1111855