TISTUD-6883 Titanium updates are not installed when node is available, but npm is not available

When we check for NodeJS installation on the machine, we now will detect whether npm executable is available in the expected path. If npm is not available, then we will consider NodeJS installation as incomplete installation.