Don't scale cinematic time by timescale twice

Reported by Ensiform.
Add ColorIndexForNumber macro replacing '& 0x07'

Makes it easier to add more colors.
SDL 2 scroll/caps/num lock keys send KEYUP event when key is released
Port COM_ParseExt fixes to CommaParse