share/rest is gone, remove policy

Promises are failing due to missing source files.

(cherry picked from commit b99e2a375832679a4761c195a07428bcf6c28dd0)
Silence database maintenance operations

(cherry picked from commit 54faf602bfe1ab99048d6e1bbed702ff97fc38be)

Conflicts:
	lib/3.7/cfe_internal.cf
update/update_processes.cf: use sys.bindir only on 3.6 or newer

(cherry picked from commit 67360f8f87c3c5c7f1a4909e3527be6d52739449)
Merge pull request #213 from tzz/bindir-fixes-3.6.x

update/update_processes.cf: use sys.bindir only on 3.6 or newer
Redmine #5506: Fix package version containing package name in report.

Not touching 3.5, since it has many other problems with updates
anyway.
(cherry picked from commit 3ba537d0a36113dde87ee5ca5c0ecb03aaebb221)

Conflicts:

	lib/3.7/packages.cf
Merge pull request #216 from kacfengine/version_is_not_name_3.6

[3.6.x] Redmine #5506: Fix package version containing package name in report.
Redmine#5463: do not use local_software_dir if it does not exist

(cherry picked from commit 057d7604f5bd5cff60837c0eb9bc48ec66615ada)
Get rid of Mongodb log rotation
Clean CFE_knowledge.cf
Clean update policy and update processes policy files
Clean traces of mongoism in lib/3.7 and lib/3.6 cf files (3.5 files are spared)
Redmine#5556: def.cf defaults should be $(sys.domain) instead of "example.com"

(cherry picked from commit c3387c29e23aa923628ebb94fa740f07ad189250)
Redmine#5556: mix def.acl and def.domain at the source

(cherry picked from commit 38cee84faa28c5bbba6af39e4d0740c11fdf8a37)
Redmine #5548: Fix runagent not working on Windows.

The ACL for the agent twin was not enabled by default.

(cherry picked from commit 1da8f5f7603d8e29dcc01c547f60650dbf4bd3bf)
services autorun: new facility, off by default, to auto-run services/autorun/*.cf

(cherry picked from commit 36efa013908fb6efd9d6c6da7e3ebe5a7ddca910)
promises.cf: guard from 3.4 evaluation of the autorun bundle
Merge pull request #225 from tzz/services_autorun_3.6.x

Services autorun 3.6.x
def.cf: Fix autorun location in comment

(cherry picked from commit 0b531c015443884e90b480cc0b54b76db3e2f577)
change cfrunagent to run cf-agent instead of cf-twin. cf-twin is depreciated in 3.6

(cherry picked from commit 6bafb0b2b26b1c6ff9b57c5b76883e65b9f57003)
Redmine #5608: Fix missing body definition errors in package tests.

They were introduced once we added plucked.cf.sub to acceptance tests.
(cherry picked from commit 68c22567310dfd257908614703a38b1079cd7282)