Remove migration support for LMDB
Remove proper files in acceptance tests initialisation.
Added two acceptance tests for digest copy: one if the file is there and is correct, and one if it's there but different.
Add acceptance tests for digest copy_from with server-side connection.ip expansion.
Just stylistic/performance changes, functionally same code.
Fix the MD5 protocol command.

Enforce proper access controls. Expand shortcuts in new protocol. Expand
special variables (ip, hostname, key) as well. Implement acceptance tests
checking them.
Merge pull request #1699 from jeffali/lmdb_no_mig

Remove migration support for LMDB
Merge pull request #1700 from jimis/shortcut_always_copies-4698

redmine 4698, 5638 and related tickets
Switch "make pluck" to grab from 3.7, since this branch is 3.7.
Regenerate plucked.cf.sub with "make pluck".
Merge pull request #1701 from kacfengine/file_copy_zero_sized_file

Redmine #5763: Regenerate plucked.cf.sub after masterfiles fixes.
Use MapAddress() early on, so that conn->ipaddr is never a v4-to-v6 mapped.

By calling MapAddress() in the main loop (inside StartServer()) we avoid
the need for calling MapAddress tens of times later. We lose the
information that 192.168.1.2 might originate from ::ffff:192.168.1.2,
but shouldn't matter, all access controls in that case are written in
pure v4 style anyway.
Merge pull request #1702 from jimis/shortcut_always_copies-4698

Use MapAddress() early on, so that conn->ipaddr is never a v4-to-v6 mapped
Redmine#5486 Better support for LMDB >= 0.9.11

API has changed slightly, "key" is now required even with MDB_CURRENT.
It was ignored in older versions, so enable it everywhere.

Based on a patch by jeffali <hichame.jeffali@cfengine.com>.
Redmine#5486 Re-enable db_concurrent_test
Disallow no-lock and file-input options in cf-agent when called via cfruncommand.

This hardens the already existing limitation, which is enforced in
cf-runagent and cf-serverd, but has a holes. Ie. --no-loc is accepted by
cf-runagent and cf-serverd, and interpreted by cf-agent as --no-lock
as is standard for unix command line tools.