Redesigned plugin, using task rule and separated npm stuff into own tasks

Hi @srs,

I would like to contribute to the plugin via these changes. Not tested on Windows yet.
See updated README for explanations.

Could you please indicate whether your code is open-source?

regards,
  @tkruse