Generate container stats on event trigger

DO NOT MERGE YET

This PR provides an extension to the container to dump a stats snapshot into its CapabilityContainer resource, based on a system management event. Stats include processes, policy, config, path, env variables, greenlets and other common variables.