Renderstate: support stencil buffer states.
Rework state system so that all render states that are not defined by the current render queue (which uses SetDefaultState) have global default values. This will make sure they are reset if drawables change them.
RenderState: forgot stencil_test state.