FR: Expose API to get Config

This post has been migrated from the obsidian-api repo:

I’d like app.vault.getConfig() exposed, so I can get configuration settings to apply to custom file handlers (for example, my CookLang plugin).
Even better if we can get some sort of event to listen for when specific config values change, so plugin views can respond to config changes like line numbers, word wrap, readable line length, etc.