Reformated code (moved things around, categorized, etc.).
Documented alloctor.
Moved C++ wrapping code below respective wrapped code.
Added agl::error_handler and agl::set_error_handler.
Added agl_initialize and agl_deinitialize and wrappers.