Fix assert setting sys variables for interfaces when none are detected
Turn off function caching to get up2date results after user promise.

Otherwise it only succeeds the second time around.
support flycheck-mode
Log promise iteration outcomes in enterprise
Merge pull request #1094 from tzz/feature/redmine3283-tag-everything-n-stuff

Redmine#3283: tag everything
Merge pull request #1133 from kacfengine/master

Turn off function caching to get up2date results after user promise.
Removing unneeded assert
Changing the API for lastseen DB

Changing the signature of two methods from arrays to pointers.
Fixing issues after integration

Even this is a half cooked implementation, there were some issues
that were not detected on time:
- The accept call in the server loop was removed with the intention
of moving it, but never added back.
- There was a dangling pointer causing strange issues.
Fixing a memory leak

We need to destroy the ConnectionInfo structure in those cases
where we haven't created the ServerConnectionState structure yet.
Merge pull request #1135 from cduclos/call-collect-agent

Call collect agent
Revert "Log promise iteration outcomes in enterprise"

This reverts commit 4fa377fc6de7287f2e6f76ba9a34e360abffbc9c.
Added comment after discussion with @dottedmag.
Merge pull request #1136 from kacfengine/master

Revert "Log promise iteration outcomes in enterprise"
Merge pull request #1137 from jimis/varfix4

Added comment after discussion with @dottedmag.
Redmine#3804: document exclusive upper bound of randomint()
contrib/enterprise/report.pl: script to make simple Enterprise reports easier
Merge pull request #1138 from tzz/feature/3804-clarify-randomint-upper-bound

Redmine#3804: document exclusive upper bound of randomint()
Merge pull request #1109 from tzz/feature/enterprise/report.pl

contrib/enterprise/report.pl: script to make simple Enterprise reports easier
Fix null pointer reference in length() function.

It's legal for datatype_out to be NULL.