Add support for global generators

This adds support for global generators by adding the global node_modules path to the lookups.

Reference #171.