add apitrace, a set of tools for tracing/replaying OpenGL