Made agl_resource_t opaque, and removed agl_resource_{create,destroy}.
Fixed x86-64 atomics.
Merge branch 'master' of github.com:mtwilliams/agl