add support for repo mirrors via N_MIRROR env variable

Usage:
```
export N_MIRROR="http://nodejs.org/dist/"
n ls
```
Tested on Ubuntu 14.04 LTS Trusty Tahr & Mac OS X 10.6.8