add support for node_modules with 'main' directories
release 0.11.0