Add an interface to grab the depth/stencil buffers.

Not sure yet how to show in UI, not well tested...
Attempt to support rendering depth/stencil.

But no interface yet.  I can't tell if it works, I just get black...
Merge pull request #3956 from unknownbrackets/debugger

Add methods to grab the depth/stencil buffers too