Acceptance test for redmine 6568
Follow normal ordering also in common bundles

Evaluate variables promises before classes promises.

Also reduce code duplication.

Fixes Redmine 6568
Merge pull request #1975 from jimis/master

dist tarball fixes
Merge pull request #1971 from vohi/redmine/6568

Redmine/6568: Fix ordering of variables and classes in common bundles
Switch to custom byte swapping function.

GCC builtins like __bswap_32 are not portable between versions.
Revert "Acceptance test for redmine 6568"

This reverts commit 361374bcb05e47f78e46c42e4a753a7e9ff71ef8.
Revert "Follow normal ordering also in common bundles"

This reverts commit e92efc5458117c4988ddb8c815c72a017bd5f981.

Autorun acceptance test in masterfiles started failing, can't
see any other commit that would have changed behavior here.
Merge pull request #1977 from kacfengine/bswap

Switch to custom byte swapping function.