Adds support for generator resolving when yeoman-generator has been linked

Fixes #334
Merge pull request #394 from pull-requests/fix-module-resolving

Adds support for resolving when yeoman-generator has been linked