LDEV-768: Fixed the problem with the session being closed by changing how the update is done. Previously it used the user object connected to another session - now it looks up the user in the "add user" code, so that it will be part of the same Hibernate session. Given this user is in the cache, it shouldn't add too much time to the call.
Unistall operations comleted, user can now retain database, repository, uploaded files and configurationsFiles are saved into install directoryNot yet implemented: On re-install check that the retained files folder exists and add files for the installation