Merge pull request #2 from surg/master

Create .m2 dir if it doesn't exist
Update Maven version and mirror. Temporary make curl sepeakable to diagnost problems
Fix extracted directory name
install nodejs
don't remove maven