Use trilinear filtering by default
Newlines at the end of commands are not requires (or printfs)
Fix startup commands being processed in reverse order
Fix key-down+key-up mis-ordering when both occur in the same frame.
Fix sub-frame input handling.

This needs IN_Frame() to be called often, maybe more than once per frame.
Timestamps reflect when this was called rather than the actual event times,
so we work around this by calling it from within the delay loop in
Com_Frame(). Wake-up within that loop is approx. every 50ms, so the
minimum calling frequency should be 20Hz.
Change Lightgrid interpolation to match q3 more.

The directed light intensity is interpolated now without consideration of its
direction. That may be physically less plausible, but otherwise directed
lighting can get turned down too much.
Fix lightvector scaling.
Merge branch 'master' into vertpack