d3d10core: Implement PSSetShaderResources and PSGetShaderResources

Based on patch by Michael Müller <michael@fds-team.de>.
d3d10core: Implement loading 2d texture content during creation.
dxgi: Improve stubs for MakeWindowAssociation and GetWindowAssociation.
d3d10core: Implement UpdateSubresource for buffers.
d3d10core: Implement usage flag conversion in d3d10_buffer_init.
d3d10core: Improve depth buffer and stencil buffer handling.
wined3d: Added sm4 DCL_INPUT opcode.
wined3d: Added sm4 DCL_INPUT_PS opcode.
wined3d: Added sm4 DCL_OUTPUT opcode.
wined3d: Added sm4 DCL_OUTPUT_SIV opcode.
wined3d: Added sm4 DCL_TEMPS opcode.
wined3d: Added DCL_RESOURCE sm4 opcode.
wined3d: Added DCL_SAMPLER sm4 opcode.
wined3d: Added Sample sm4 opcode handler.
d3d10core: Implemented SetPrivateData and GetPrivateData on ID3D10Buffer.
wined3d: set pixel shader usage based on vertex shader output
wined3d: HACK for typeless textures.
d3d10core: Fix handling of buffer types.