add global config health check

This pull request is part of https://github.com/yeoman/generator/pull/688

It run some basic validation on the `.yo-rc-global.json` file
Use [`user-home`](https://github.com/sindresorhus/user-home) to be a bit more reliable.