Merge pull request #5 from radu-c/master

added username/password for Fetch if defined.
Updated version
Switched from 'finish' to 'close' event on streamWriter when downloading dependencies