revert these revisions:
3060-3066
3053-3058
(input-related 'refactorings' and subsequent bugfixes and squabbling)
reversions went without any merge conflicts, so I think it's OK. your key bindings may be history through, sorry.
revert r3037 (video-related 'refactors'). seemed to go ok, didnt touch as much stuff as the input-related stuff)
some kind of necessary vcproj fixup dunno why this happened
fix linux compiling bug from e3070
make SYSTME_LUA actually work, default it to false, and fix building when it isn't chosen (so the embedded lua can actually be used)