Adapted config files to support case-sensitive file system in Windows build and mingw cross-platform compilation. See #3101
FMIL: Add a comment to the build script and fix a documentation mistake in src/Util/include/FMI2/fmi2_xml_callbacks.h, for #3236
FMIL: Merge 2.0.x branch back into trunk for #3236 (2.0.x was slightly ahead)
FMIL: update FMI headers in ThirdParty/FMI/default/FMI2/ to FMI2.0rc1 headers for #3241.
Fix the corresponding discrepancies that showed up:
 * `fmiCompletedIntegratorStep` changed prototype
 * Updated contents of struct `fmiEventInfo`
Since the code almost does not use the FMI headers, this leaves almost everything working like before.
FMIL: Merge `fmiInstantiateModel` and `fmiInstantiateSlave` to `fmiInstantiate`, and same with `fmiFreeModelInstance` etc, for #3241.
The new `fmiInstantiate` takes an additional argument of type fmiType; mirror typedef added to fmi2_functions.h.
FMIL: Update comments etc. in FMI2 directories to state FMI version 2.0 instead of 1.0, for #3236
FMIL: rename `fmiGetNominalContinuousStates` to `fmiGetNominalsOfContinuousStates` for #3241
FMIL: Remove function `fmiGetPartialDerivatives`, which was removed from the FMI2 spec, for #3241
FMIL: Merge and rename some functions for #3241.
 * `fmiTerminate`: make common between me and cs
 * `fmiTerminateSlave`: remove / use `fmiTerminate` instead
 * `fmiResetSlave`: rename to `fmiReset`, make common
FMIL: Add functions `fmiSetupExperiment`, `fmiEnterInitializationMode`, and `fmiExitInitializationMode` for #3241
FMIL: Add functions `fmiEnterEventMode`, `fmiNewDiscreteStates`, and `fmiEnterContinuousTimeMode` for #3241
FMIL: Add loading of functions `fmiSetupExperiment`, `fmiEnterInitializationMode`, and `fmiExitInitializationMode`, and implementations in test FMUs, for #3241. Also fix some related naming convention mistakes
FMIL: Make `fmiSetupExperiment`, `fmiEnterInitializationMode`, and `fmiExitInitializationMode` in FMI2 test FMUs do together what `fmiInitializeModel` / `fmiInitializeSlave` were doing; call the former instead in import tests, for #3241
FMIL: Remove functions `fmiInitializeModel` and `fmiInitializeSlave` from FMI2 code, for #3241
FMIL: Fix a few typos for #3241
FMIL: Remove state vrefs and internal flag `callEventUpdate` from FMI2 test fmus for #3241, since they are no longer needed
FMIL: Update to the event model of FMI2.0rc1 in me import test and test fmu, for #3241.
* Let `fmiNewDiscreteSates` in FMI2 test fmu do what `fmiEventUpdate` does, and make it safe for successive invocations. 
* Rewrite `fmi_import_me_test.c` to use the event model of FMI2.0rc1.
* Add missed `FMILIB_EXPORT` declarations.
FMIL: Remove functions `fmiEventUpdate` and `fmiCompletedEventIteration` for #3241.

Also
* Remove now unused variable `intermediateResults`.
* Make `fmi_do_step` in cs test fmu call `fmi_new_discrete_states` in place of `fmi_event_update`.
FMIL: Remove XML attributes `canHandleEvents` and `canSignalEvents` for cosimulation, for #3267.

Also remove commented-out code for removed attributes `providesPartiallDerivativesOf_XXX`.
FMIL: remove unused `intermediateResults` that was missed in r5548, for #3241