Replaced static non-PODs with pointers and removed dead code.

Review: https://reviews.apache.org/r/18321
Updated resource model reporting to sum across multiple roles.

Review: https://reviews.apache.org/r/18144