Finished lighting/transparency from material

Basic lighting/transparency support for materials. Only supports first
material in the list. Lighting uses "shadeless" checkbox, which appears to
be stored in the third bit of "mode" in the material struct. Transparency
uses "game.alpha_blend" which doesn't appear to exist in newer versions of
Blender.