Refactor: Allow multiple npm packages to be added at once + tests

npm equivalent of https://github.com/stefanpenner/ember-cli/pull/2222
It is generally easier to keep them in an array, and just `[].join(',')` (rather than manually bookkeeping when to place a comma).