parse appdata in solv example

Also support a '-d' option to increase the debug level.
Extend product link support to patterns/applications

Also implement own product link code, in case the
nscallback does not return a buddy.
Includes two bugfix: the ruleinfo introspection now
know about links, and there's an extra link pass to
pick up linked packages.
remove obsolete states, add support for product type, fix flags parsing
remove obsolete DISTPRODUCT/DISTVERSION parsing
mark PRODUCT_DISTPRODUCT/PRODUCT_DISTVERSION as obsolete
make linked package support a condition build option
Fix obsoletes handling in multiversion mode (hopefully for the last time)

Seems like rpm does not really obsolete packages in multiversion mode,
but instead reports a conflict.
adapt testcase to latest change
get rid of unused variables if ENABLE_LINKED_PKGS is not set
Only complile "patchcheck" for SUSE systems
Deprecate PRODUCT_DISTPRODUCT/PRODUCT_DISTVERSION. Fix spelling bugs.
refactor most of the linked pkg code into a seperate source file
make pattern translations also look at the linked packages
add some comments about what linked packages are
fix typo in find_pattern_link
make 'solv info' work with command line packages
add repo_autopattern (SUSE only for now)
add is_noinst_pseudo_package(), use it for filtering installs
fix a bug in the application link code
remove trailing whitespace