fixed: distinguish between classic and attrib VAOs (ATI rendering bug J. Brunen)
fixed: try to detect if shader uses custom attributes or the standard gl_... ones