command: straightforward condition instead of "close enough"

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
facts: turn system identifiers to lowercase first

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
facts: add ability to translate logical pkg to distro pkg

In particular distro counterpart is found, logical package name is used
(possibility for false assumptions, but makes enough sense to keep it
like it to avoid being to verbose in the facts base)

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
facts: add ability to translate logical cmd to distro cmd

The target distro cmd is expected to keep the assumed template form
(say, a command to install packages should contain "{commands}" field
that is then substituted, via "format" method, with the desired
packages, completing the command to be used further in the process).

Unlike with logical packages, nothing is considered a (suitable)
distro-wide default.

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
utils_*: add helpers as utilized in experimental plugins now

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>