d3dretrace: Also recognise IDXGISwapChain1::Present as end-of-frame.

With commit f7e2fb30501fb8e5c84396013596e590fec50324 we create wrapper
objects for the most-specialised base class.  Which means that on a
reasonably up-to-date Windows 7 or Windows 8 we are bound to see
the IDXGISwapChain1::Present method, and never IDXGISwapChain::Present.
inject: Add missing Windows API Sets versions.

These 1-0 versions aren't documented anywhere, but there exist.

In particular, Windows 7 shell32.dll gets CreateProcess* entrypoints
from api-ms-win-core-processthreads-l1-1-0.dll
inject: Re-order functions.

To eliminate the need to pre-declare local functions.
inject: Hook CreateProcessAsUser*.

Potentially used by shell32.dll.
dxgitrace: Try to detect non-overlapping buffer writes.

Work in progress.
dxgitrace: Shadow D3D11 buffers properly.
dxgitrace: Fill a pattern when discarding and shadowing.
dxgitrace: Ensure buffers are initialized.