Improve autotest to fail also when cf-agent execution fails.
The epoch calculation for stime inrange calculation was wrong 1 day to early. Therefore processes are killed that shouldn't be killed.
Suspect due to wrong calculation of leap year.  the code is complicated and replaced it by mktime() calls

Also adjusted the verbose message and show the calculated process epcoch time, eg:
    Selection filter matched absolute 'STIME/START' = '10:47(1370594820)' in [1339065675,1370598075]

I like the defintion of leap day, from the dutch wikipedia:
"In different cultures (such as Norway) Leap traditionally a day on which women men may invite a date. Also the marriage
proposal is subject. February 29, traditionally the role reversal"
Feature 2930: Eliminate hardcoded /bin/echo in acceptance tests

To improve cross-platform compatibility, eliminates acceptance test path
hardcoding of /bin/echo, as well as adjacent "mkdir" an "ln" commands in
10_files/02_maintain/staging/copy-select-link-dereference.cf, taking
advantage of the mechanism in the "G" bundle which finds the correct
local-platform paths for a list of common commands.
Replace hardcoded command paths in acceptance tests with $(G.cmd)

The "G" bundle provides full path names for various commands, in order
to eliminate the need to hard code pathnames in the acceptance tests.
Some older operating systems may have Perl installed in /usr/local/bin,
for example.

This commit updates all acceptance tests to make use of the $(G.cmd)
variables for each of the listed commands in order to eliminate
hardcoding of command paths in order to increase cross-platform
compatibility.
Handle ntpd service
Injectable example code for documentation.
Remove/correct arbitrary classes from reports promises in examples
Fix non-root cf-agent flooding syslog (redmine #2980).
Enable non-root cf-agent logging to syslog.
Merge pull request #759 from jimis/bug2980

fix redmine #2980: non-root cf-agent flooding syslog
Merge pull request #727 from kacfengine/autotestFix

Improve autotest to fail also when cf-agent execution fails.
spelling typos
Merge pull request #760 from tdlee/master

A couple of spelling typos in "HACKING.md".
Merge pull request #747 from basvandervlies/fix_epoch_stime_calculation

The epoch calculation for stime inrange calculation was wrong
Merge pull request #752 from lpefferkorn/ntpd_service

Handle ntpd service
Fix compiler warning (enum value not handled in switch).

Also output proper ProgrammingError() if unexpected enum value is seen.
Merge pull request #761 from jimis/bug2980

Fix compiler warning (enum value not handled in switch).
Timestamp on windows was getting truncated, 64 bytes should be enough for everyone...
Merge pull request #763 from jimis/bug2933

Timestamp on windows was getting truncated, 64 bytes should be enough for everyone...
Add default.cf.sub input in support of $(G) references

The two affected files did not include the default.cf.sub file
needed to support the global common "G" bundle which is
referenced.