Added deferrered renderer. Allowed greater control of render type for
batches using RenderType enum. Added light octtree to speed up light
determination.