Upload log files to server during app shutdown (not yet displayed in server GUI) and prepare session persistence (atm only on object level, DB has to be added) #MO-197, #MO-198; fix a whole bunch of sync problems on TestNodeClient when working in server mode