Add -k flag so that curl behavior matches that of wget.
Also, make win32 and unix code more similar (we're almost to the point where we could have a single implementation for both!)
initial commit including a network timeout for wget and curl based downloads
added `--tries=1` to wget to prevent 20 tries (=20 timeouts)
fixes #251
- order of path; user vs system tree corrected.
- bin directories of all trees included, instead of current tree
Merge pull request #249 from Tieske/conn_timeout

Connection timeout when using wget or curl
Merge branch 'master' of https://github.com/keplerproject/luarocks

Conflicts:
	src/luarocks/fs/unix/tools.lua
	src/luarocks/fs/win32/tools.lua
Set timeout in LuaSocket/LuaSec based implementation as well.
Be more forgiving with thi cfg.connection_timeout setting.
Add --timeout flag, as discussed in #249.
Merge pull request #253 from Tieske/fix_path_order

corrects order of exported paths