Make get_extension_config more robust

Check that all paths exist during the module import, and
check that our storage file has valid JSON, reloading if
necessary

Change-Id: Ia24c1d085319411c3f3261e263ba2db540bfe7f4