TISTUD-6786 Studio installs of global npm packages modifies permissions of .npm folder

Long story short: pass along -H option to sudo when doing global installs of npm package on non-Win platforms.

All this logic should go into either SudoManager or at least getNpmArguments() method. We are handling all the sudo args in that method and we should keep centralizing it.