AC-7779 Build class library that will create cgroups
for job tasks and assign memory, cpusets, devices
and other resources to the task

Changed resi_sum to now get resident memory from the
memory cgroup and not use the old style to collect
memory usage. I did this because short run jobs often
do not get their memory recorded in the old style.