auditlogs: Fields are now populated for events.

This is accomplished by setting IB_RULE_FLAG_FIELS in the rule object.
This is fragile code and should be updated in 0.9.0 so that the event
action can build the current fields.
rule_engine.c: Fixing dead assignments.
ibjson.c: Fixing dead assignment.
lua.c: Fixing dead assignment.
ibjson.c: Fixing misuse of Yajl configuration function.
kvstore_filesystem.c: CID 1062880 - Fixing double close.