Fix missing "promise kept" status for the last line in a file.

For the last line we shortcut out using MatchRegion, but previously
we did not set the promise status.

Fixes issue 2943.
Fix "changes" promise not receiving status when file is missing.

Fixes issue 2820.
Remove repeated code section.
Switch to using NOTICE log level for file change messages.

Otherwise the message is preceded with an error tag, which is not
really the case.
Merge pull request #798 from kacfengine/changes_with_depth_search

A few cleanups for files with changes promises
Merge pull request #793 from kacfengine/match_region_bug

Fix missing "promise kept" status for the last line in a file.
Merge pull request #795 from kacfengine/issue-2820

Fix "changes" promise not receiving status when file is missing.
Revert "Fix missing "promise kept" status for the last line in a file.

This reverts commit b626ba47d5243894bd7cd25d17cc15ff023007d9, which caused
failures in ./10_files/04_match/kept_promise.cf.kept_promise.cf
Remove non-ascii character, and obsolete statement in which it's used
Handle specific Debian path: /etc/init.d/ssh instead of /etc/init.d/sshd
cfengine_stdlib.cf: split into 3.4/3.5/3.6 versions.  Add sys.cfengine_version_{major,minor,patch} and use it to load the right libraries for 3.6 and later.  Split by promise type for 3.5 and 3.6.
Merge pull request #784 from tzz/stdlib/split2

Split cfengine_stdlib.cf into pieces for 3.5.1 and higher and provide fallback for 3.5.0 and older
Remove texinfo markers that confuse liquid - try markdown
Fix missing "promise kept" status for the last line in a file.

For the last line we shortcut out using MatchRegion, but previously
we did not set the promise status.

Fixes issue 2943.
Autotest fails because of cached bundle result. Fix by splitting.
Merge pull request #805 from kacfengine/master

Reapply fix for issue 2943, and fix the failing test
Ignore result of this test for now.

After library split, promises.cf depends on cfengine version classes
and sys.version variables to be set.
Factor out DiscoverVersion in sysinfo, use in generic_agent_test:test_masterfiles
Merge remote branch 'upstream/master'