Document almost all of atomics.

I don't know enough about the free functions to give them better docs right now.