Implemented state manager for caching DirectX render state changes
Enabled PureDevice DirectX creation flag since we are managing the states by ourselves now