fix db_concurrent_test
Add assert against mixing cursor and regular DB calls.

Only active in debug mode.
Merge remote-tracking branch 'hichame/up/master_rc8b'

Conflicts:
	tests/unit/Makefile.am
port of fix from 3.5.x for issue #3408 - getprocs64 on aix
Merge pull request #1681 from kacfengine/assert_against_cursor_errors

Add assert against mixing cursor and regular DB calls.
Merge pull request #1683 from McAtte/port-fix-for-3408-aix-getprocs64

port of fix from 3.5.x for issue #3408 - getprocs64 on aix
Redmine #5496: Fix enterprise_extension_test for ARM processors.

Because of function argument padding, the "char" argument is not
enough to trigger the stack inconsistency we are looking for in the
test. This also highlights that not all forms of stack corruption will
be detected when loading the plugin, it is just a safeguard.
cf-serverd: access "ifencrypted" shall respect "false" values, too

Until now, setting 'ifencrypted => "false"' would be treated same as
a "true" value.

Fixes: #5609