Implemented state manager for caching DirectX render state changes
Enabled PureDevice DirectX creation flag since we are managing the states by ourselves now
Use Direct3D 9EX Flip Mode Presentation for Windows 7 or later