added util.whechProps, refactored whechCommon and use now env.which to guess the env.globalDir using require.resolve
-v 0.5.21