Update xf86-video-cube for more recent Xorg versions

This took more commits than I intended and some of them are a little messy, but everything should be just about up to date with the current (2013) Xfree86 Glide driver.  This driver should now compile and work on Debian Wheezy and Jessie with the proper Xorg configuration as it did with Debian Lenny and Etch.  These updates don't add any new features or improve it by any noticeable amount.