Start moving renderbatch over to the automated attribute setup

Also remove some debug logging and push gl_attrib_type templates into
detail namespace