Options for nodejs.org mirrors and source for NVM

Two environment variables are checked for, namely `$NODEJS_MIRROR` and `$NVM_GIT_SOURCE`.

This allows people to use a mirror (or even local copy) of the nodejs.org/dist repository and even elect to use their own fork of nvm (it made testing the mirror setting easier).