Add an API to return available versions of Node and NPM

Fixes #784