1. fix the esp_wifi_disconnect() err when wifi is not started or inited 2. make g_intr_lock_mux and g_osi_funs_p in DRAM
This change adds a check for compatibility between the nvs version found on nvs flash and the one assumed by running code during nvs initialization. Any mismatch is reported to the user using new error code ESP_ERR_NVS_NEW_VERSION_FOUND.