TISTUD-6815:Studio does not recognize installed npm packages if there are unmet dependencies with npm

The following changes were made

1. We use the -s  flag with npm ls now so that the error and info are not sent along with the JSON
2. Whenever we get a non OK status(due to unmet dependencies) we first try and see if we can read the version info from the JSON. In case we can we report it back and log an error. If we don't have the version info we just throw CoreException