npm/ndm — pull request #67 by seanewest (2014-08-17 18:23:10+00:00)
Title: multiple services in a global package

For global packages ```allServices(serviceNameFilter)``` was only returning services that had the same name as the package itself. ```ndm-test``` got by this because its only service is ```ndm-test```.

The reason is because ```parseServiceJson``` was throwing out services that didn't have the same name as ```serviceNameFilter```. If you are using ```ndm``` for a local package than this makes sense because ```serviceNameFilter``` is supposed to be the name of the only service which you want to use. But for global packages ```serviceNameFilter``` is the name of the actual global package, and so we should instead operate on all services.

I pulled this off by adding ```config.globalPackage``` because I figured the change in application behavior by being global was enough to keep that fact around.