add restartRequired flag to InstallationManager

this flag prevents to apply consecutive patches (or rollbacks or any
combination of them) without restarting first the server to ensure its
installed identity is properly loaded and correct.