Unify/cleanup max snapshot entities on client and server
Adds Z checking to CanDamage function.
Add missing traps to cg_local.h
Remove newlines from Rend2 error messages
Update invalid g_gametype right away
5289 - Support for .pk3dir
Change pk3dir README / comments to fit in better
Don't add pk3dirs if connecting to a pure server

Only .cfg etc would be read from pk3dirs, but they should be treated like pk3s that are not on the pure list.
Extend Team Arena name edit fields to MAX_NAME_LENGTH
Changes to fs_pure/PAKSUMS
Merge remote-tracking branch 'upstream/master'

Conflicts:
	README
	code/cgame/cg_local.h
	code/server/server.h
	code/server/sv_init.c
	code/server/sv_snapshot.c
Fix 'Changes to fs_pure/PAKSUMS'
Fix possible delta from invalid entity
Send upto 256 entities for each splitscreen player
Fix compiling
Merge remote-tracking branch 'upstream/master'

Conflicts:
	code/client/cl_parse.c
#5878: Ensure surfaces are drawn before executing full-screen render commands, and when at the end of the render command list.
Merge remote-tracking branch 'upstream/master'
Add trap_Alloc (works with DLLs and QVMs!)

Dlls can share memory by allocing using the same size and memory tag string.
Make game use trap_Alloc