recursively calculate app cpu and ram commitment
Merge pull request #935 from control-center/bugfix/CC-73

recursively calculate app cpu and ram commitment