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
start soft-deprecate of am_policy_hub: policy server is the established name
Call tchdboptimize only in 1% of the OpenTokyoDatabase() calls

Even though we call non-reentrant rand() from multiple thread contexts,
there is no harm done even if bad random numbers are returned.
Fix grammar in mount message.

Fixes #2938
Report state of agent only in verbose mode.

Fixes #2821
Merge pull request #755 from jimis/blah2

Call tchdboptimize only in 1% of the OpenTokyoDatabase() calls
Enable colorized output --color=never,auto,always (-C)

Defaults to 'never'
Ensure short option works for --color, default to 'auto' if flag is used
Fixed wrong return value and missing member copy.

Fixes issue 2965.
Merge pull request #756 from kacfengine/issue-2965

Fixed wrong return value and missing member copy.
Additional fix for issue 2965.

CacheStat returns tristate (succeeded/failed/unknown), not bool, so
tweak return values yet again.
Merge pull request #757 from kacfengine/issue-2965

Additional fix for issue 2965.
Rename examples. They are not unit tests, so remove unit_ prefix.
Temporary templating bundle should be placed in default namespace.

Add acceptance test. Close #2928
Injectable example code for documentation.
Remove/correct arbitrary classes from reports promises in examples