I'm not convinced about adding this section. It makes the example more complex, and application authors may well want to use their own config system, anyway. Fundamentally, we shouldn't be instantiating our own *App class here, because we're not running an IPython application.

Also, blindly applying the config from all classes to the widget is certainly wrong. The config file can include kernel-side stuff.