Add support for npm proxy

Configure npm to use proxies if it is installed.
Hook also after each provisioner run.

Fixes #50
Merge pull request #51 from tmatilai/npm

Add support for npm proxy