Direct3D 9.0 Implementations

Added projection, transformation, lighting, and fog functions as well as
some depth buffer and zwriting functions. Also renamed system to D3D9 as
we may write a DirectSound audio system and a DirectInput input system and
it helps to avoid confusion between the systems. Merge when ready.