bugfix HMR module.accept: resolve multiple deps to module ids

The HMR plugin replaces the require string with a module id.

However, this was only implemented for a single dependency.

I've added support for an array of dependencies, as is documented on the website.

Fixes issue #465 .