Improve integer texture support & add i965 texture_rgb10_a2ui support

 * 4 reviewed patches from v2 were committed, and thus removed from
   the series
 * Updated _mesa_meta_CopyTexSubImage to fix an issue with a texture
   using MESA_FORMAT_R8
 * Note: patches 1-3 & 8 of this series have been previously reviewed

 * Add glformats.c/glformats.h
 * Move integer texture clamping fixes from ReadPixels to CopyTexSubImage
 * updated docs/GL3.txt for i965 & texture_rgb10_a2ui
 * Fix ugly pseudo-template in .h. I just duplicated the code and dropped

 * Improve integer texture support
 * Add i965 texture_rgb10_a2ui support
This tag has no release notes.