Redmine#4848: fix peers, peerleader, and peerleaders functions and add tests
Fix incorrect extension stub definition.
Redmine #5337: Fix sporadic deadlock in dlsym().

Apparently dlsym() is not threadsafe, so we need to protect it with a
mutex.
Redmine #5337: Optimize by caching calls to dlsym().

- Introduce static function pointer which we save between calls.

- Thread safety is not needed, since even if two threads try to write
  to the function pointer simultaneously, both will write the same
  value.

- The old stub code is inline, so we cannot use a static variable
  there. Fixed my moving the stub code into the stub macro instead,
  where it doesn't need to be inline.
Add test for mustache encountering string instead of list in json data

Also test for different inode after mustache template applied.
Ref: Redmine:5292
Redmine#5292: acceptance test fixups
Redmine#5292: acceptance test fixups for Windows
Merge pull request #1615 from kacfengine/dlsym_thread_safety_fix

Redmine #5337: Dlsym thread safety fix and optimizations.
Merge pull request #1604 from tzz/redmine4848-peers

Redmine#4848: fix peers, peerleader, and peerleaders functions and add tests
Add IsValidVariableName regex global to valgrind-suppressions
Allow dashes in values for body copy_from servers attribute

Add unit test

Close #5268
Redmine#5315: use new convenience bundles, replacing some dcs bundles
Fix sscanf return in StringItemNumberLess.

sscanf may return -1. reported by valgrind.
Merge pull request #1619 from sigurdteigen/master

Fix sscanf return in StringItemNumberLess.