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