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