Fix logging and config for portable setup (0.48)
Setup logging after setting up paths but before settings loading to get proper log records earlier.
Read configuration by navmeshtool and bulletobjecttool the same way editor and engine do to properly handle --replace config
and --config <path>
arguments.
Remove mode
and autoSetupLogging
arguments from setupLogging since they are no longer used.
Use temp path to write crash logs because default paths might not be available for portable setup.