Allow forcing the library to think we are in OpenGL 2.1.
Fix warnings.
Add a test program for buffer objects.

This is the first time Caramia has something resembling automated testing. The
OpenGL 2.1 conversion is hairy and it will be useful to catch obvious mistakes.