[tools]write a python script to generate tarball

to use this, run the python script and `-t` is supported to pass the nw version,otherwise it will be the `nw version` by default, and the tarball will be generated under the `src/content/nw` directory, the name of the tarball will be, say `node-v0.7.3.tar.gz`.