Port client HW renderer to DirectX 9.0

This pullrequest updates the client from DirectX 8.1 to 9.0