On Windows we need to change the working directory on startup to not
lock the directory Geany was started from (bug #2626124).
However we can't change the directory to late in the startup process
otherwise plugins maybe unable to load resources from the installation
Though we also can't change it too early otherwise opening files given
with relative paths in Geany from the command line won't work anymore
This change should fix both issues by changing the working directory after
command line file handling happened and before plugins will be loaded.