Avoid light sampling outside the light grid.
Fix the copyrights
Add torrent downloader shell script for assets.
Mark fs_extrapaks as a startup variable
Don't do preset code for presets we don't have
Remove bashism from download-pk3-torrent.sh.
Remove another bashism from download-pk3-torrent.sh.
Fix parse.c converting / to \ on Windows
Don't leak in R_FindImageFile if numLayers > 0
Load map pk3s in menus so that levelshots can be used
Add fs_basepak to startup variables
Fix Path::IsValid
Ignore directories in zip files
Reset dl_file after a download
Merge branch 'debian'

Conflicts:
	src/engine/framework/FileSystem.cpp
Add support for writing via temporary files with atomic replacement.
Intent is to avoid losing config via truncated files.
However, we need more error-checking.

Key bindings, configuration and admin data are written in this way.
Lots of configuration migration script fixes. New dirs in /etc.
Fix dir cleanup (broke the debian/rules ‘clean’ target).

This fixes commit fc3af440da27e3aa185b7c30863165208a0189ac.
Set the permissions mask to user-only when writing the key. (Not Windows.)
Update unvanquished-server news file.