correctly support class with parameters
turn needsParentComponentClass setting into a static class property

this allows getting it's value *before* calling getSettings - for which we need the value to know if the parent component class should be passed
use standard way to get setting

fixes usage for component with needsParentComponentClass, else the parent wouldn't be passed