FLOE-207: Put modelListener setup in modelToClass

Added a new grade that looks through a modelToClass config block to generated model listeners for toggling classes on the component's container.