[SP] Fix out of bounds array access in R_FogFactor

R_FogFactor was accessing out of array bounds due to the s texture
coordinate being NaN. This follows from using a zero-length axis to
calculate the vertex positions for a cylinder fx, which was then used in
a foggy scene.

This commit corrects problems in all of the EFX update functions, which
continued to render the EFX, even when its orientation (represented by
a 3 axes) could not be determined.
[MP] Fix force regen debouncer causing hitch with long uptime
[MP] Proper bounds checking on g_maxForceRank
[MP] Fix #453: assertion when NPC jumps up

The assertion was triggered when the NPC attempts to jump directly
upwards.
Merge branch 'master' of github.com:JACoders/OpenJK
[MP] Fix #395: NPCs jump state not being set

This commit fixes the problem with NPCs not jumping when directed through
an ICARUS script. The problem stems from the signedness of enums being
implementation-dependent, and where bState_t (an enum) was used in a
greater-than comparison against -1. In this case, the enum was unsigned
which caused the comparisons to always return false.

This has been fixed by testing for inequality instead of using a greater
than comparison.
[SP] Fix for NPC behaviour setting on Linux

Similar fix to d252a69.
[MP] Fix #382 - force regen bug with saber throw

The debounce time was not being updated when the saber was being thrown.
This meant that after the saber had returned, the force points were
regenerated as if it started from the point the saber was thrown.
[MP] Clean up forcepowers validation
[MP] Fix spectators getting stuck with force grip movement speed. Clean up some bg_pmove stuff.
[MP] Adjusted name filtering. Don't allow control characters, fix @@@ filtering
[MP] Meta: Remove unnecessary comments and names
[MP] Fix stack corruption after 761e55fd73

After reducing the size of the char buffers in WP_InitForcePowers, the
server crashed due to stack corruptions. This was a result of
BG_LegalizedForcePowers assuming that the char buffer handed to it (which
in this case was one of the buffers reduced in size) was at least 128
bytes in size. A string copy was then performed, which corrupted the
caller's stack.

This commit adds an extra parameter to BG_LegalizedForcePowers for the
size of the passed in buffer.
[MP] Fix #468 - using wrong team model colour

This commit fixes a small bug where you could use the other team's colour
for player skins.
[MP] Remove unnecessary assertion in skin loading.
[MP] Added useful error messages for DLL loading

This commit adds some additional error reporting messages when failing to
load DLLs. This is in addition to the 'dll failed to load' errors which
provided no useful information.
[MP] Fix #369 - siege menu shaders not working

The problem was due to the new API not replicating exactly the functionality
given by trap_R_RegisterShaderNoMip in the UI module as there was some
extra code to load the shader name from a cvar if an asterisk was the
first character of the shader.

Thanks to redsaurus on the help with this.
[MP] Improved error reporting of DLL load failure

Added missing error code argument, added error reporting to client binary,
and display the additional information when developer is non-zero.
[MP] Add the extra error messages to legacy game dll loading.
[MP] Fix NET_AdrToString to display port correctly.
Minor cleanup to NET_StringToAdr.
Use NET_AdrToString in a few places.