fix logic error in resolution testing and another minor issue
use temporary file name while writing json event data
calculate compliance against VM policies and store asset compliance status
in addition to vulnerability json data, also create compliance events for
consumption by mozdef that summarize system compliance