Added requiredRenderingParts method to get what is needed for rendering

This is a work in progress. Please provide feedback as I haven't done C++ in a LONG time.

The idea is that we need a way of determining which parts we need before the message can be rendered.