wrap CLI in npm.load for global dir - fixes #288, fixes #266, fixes #232

Implementation of the solution proposed by @fsateler in https://github.com/node-gh/gh/pull/266#issuecomment-38198455