Added callbacks/filters for ARB_debug_output

- Added the Unique, Tree and ToXML callback that can be used with
  the ARB_debug_output extension.
Added formatting script for ARB_debug_output XML