Added system for optional apps to modify settings

I thought this was needed for some other work, but it wasn't.  Still I think this is a nice feature to have and will come in handy someday.