Allow specifying a single plugin as the plugin folder

Also, identify plugin folders by checking whether they contain a package.json, rather than requiring the folder to be named <name>.generate

Fixes #51.