Cache inherited settings outside of structure

LMS-11363

@nasthagiri I verified w/ red green testing
(some pylint fixes b/c my ide is being more vigilant)
should add docstring for `inherited_settings`.