Redmine #5627: Fix two misparsings of "yum check-update" output.

Issue 1: The regex incorrectly assumed that the package name cannot
contain '.', which it can (java-1.6.0 is the name, the version comes
later). However, this makes the output format ambiguous, so switch to
spaces for separating the fields in the "rpm --qf" command.

Issue 2: "yum check-update" breaks up its output according to a 80-
column width when piping to a process. This means that an entry can
span up to three lines, one for each name-arch/version/repo. Fixed by
postprocessing the yum output in sed.

It requires a lot of effort to provoke the line-breaking yum output in
a test environment, so I opted for the slightly less foolproof method
of storing the output in a file and testing our parsing expression
with a dummy package body. This required some changes to the package
bodies in order to share this expression, but it also makes it more
centralized.
Makefile: if .gitignore is missing, skip its installation
Makefile: add lib/3.7 to install targets
Makefile: remove .gitignore install attempt
Makefile: remove "libraries" from install targets since it is removed
Redmine#5650: split standard_services / classic_services to improve systemd, chkconfig, sysvservice, and Upstart support
Redmine#5650: add Solaris SMF support
Redmine #5627: Deal with even more extra lines from "yum check-update"

yum likes to put extra lines interspersed with the actual information
we're interested in, which is the available updates. This patch fixes
a couple of cases:

  1. Do not combine multiple lines unless all subsequent lines after
     the first start with a space.
  2. Make sure we match a '.' in the first field in the package match
     so that we don't match superfluous lines like "Obsoleting
     Packages" or "Loading mirror....".
  3. Make sure the package name is at the very start of the line. yum
     sometimes puts already installed packages in the list with an
     indentation, under the "Obsoleting Packages" header.
Merge pull request #232 from kacfengine/multiline_yum_output

Redmine #5627: Fix two misparsings of "yum check-update" output.
Redmine#5650: clean up expression logic
Merge pull request #233 from tzz/new-standards

Redmine#5650: split standard_services / classic_services to improve systemd, chkconfig, sysvservice, and Upstart support
apt_get_permissive: documentation bug
Redmine#5701: rename bin_dir to dir_bin for consistency with def.cf
Redmine#5701: only set permissions for agents and optional_agents, not all of dir_bin
Redmine#5701: set recursive permissions for sys.workdir/bin if it is /var/cfengine/bin
Redmine#5731: on RHEL 4, Yum can not be --quiet
promises.cf: don't run lsb detection on non-linux unixes
Merge pull request #237 from cdituri/dev/no-lsb-on-other-unix-os

promises.cf: don't run lsb detection on non-linux unixes
Change splaytime to 4 so that connections are spread in almost the whole 5-minute interval.
Add check to only run chkconfig if the service is registered