Packaging updates; mostly file location changes.
Merge branch 'master' into debian
Fix memory leak introduced in texture compression merge
One more main→pkg change.
Changelog update.
Merge branch 'master' into debian
Enable USE_VOIP and remove unnecessary build dependency on xvidcore.
Fix install and configure bugs.
Add a few more dirs to debian/clean.
Avoid light sampling outside the light grid.
Mark fs_extrapaks as a startup variable
Don't do preset code for presets we don't have
Changelog update.
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.