librtorc-baseui: Extend direct3d9 functionality

- refactor UIDirect3D9Shaders to work with shader objects directly
- add offscreen render targets
- add full vertex and dirty vertex handling to UIDirect3d9Textures in
line with OpenGL code
- fix NPOT texutre detection
libtorc-videoui: Extend debugging of colourspace matrix