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.
new function: packagesmatching