classesmatching.cf failed on Tuesdays. Fix it
Merge pull request #494 from kacfengine/nova-build-triggering

Fixed Nova changes not triggering a rebuild of libpromises.
Remove global ERRORCOUNT, move to ParserState, return NULL Policy on failed parse.

Close #2416, #2417
Only flatten promisee list if it is resolved to a list

Close #2422
Add a few parser unit tests

If you make changes to the parser, please add a unit test following
this simple template.
Destroy incomplete policy DOM on parsing errors
Added ParrserDebug Statement, this could be depended on another cf-promises flag, but for now it is -d
Substitute constant argument into function
Move LogHashChange to cf-agent
Document format of the hashes database key
Move function prototype to proper header
Move promise-specific cleanup from cf-agent.c
De-Attribute-ify SelectLeaf
De-cfPS-ify SaveItemListCallback
de-cfPS-ify SaveXmlCallback
De-EvalContext-ify SaveAsFile
error_count is not a size of memory block
No need to increment error_count in yyerror, it is done in ParseErrorV
detect wrong bundle type and report it to the user
Merge pull request #495 from basvandervlies/master

detect wrong bundle type and report it to the user