Fixed header guard in agl/detect.h.
Fixed agl/compat/stdbool.h for C++.
Added agl_atomic_incr, agl_atomic_decr, and agl_atomic_compr_and_swap.
Added agl_request_t and agl::Request.
Added agl_resource_t and agl::Resource.