Declare internal context setup and teardown functions. Also, fix set_render_target definitions to conform to IRenderer.

Define context setup function. Still plenty to do in the future to make this robust on hardware with more restrictive render targeting.
Change declaration of render_node to take model-view-projection matrix stack instead of camera.