Add download features

Hi, I've fix some bug and rebase for more clean pull request.
Now work!!!

task("download","download test" , function () {
    download( "/full/path/to/your/file",   "localfilename" );
});