Fix node and npm modules for PATH.

This properly gets everything into the PATH that needs to be for the NPM
modules to be executable.
Rearrange and add some comments to rubyrc.
Add exported variable names for HOMEBREW and HOME.

These paths may need to be used in other scripts.