Updated atomic.h and atomic-builtin.h to support C11's stdatomic.h if present.
 - merge from Merijn's commit (July 26 2012)
Updated atomic.h and atomic-builtin.h to support C11's stdatomic.h if present.
 - merge from Merijn's commit (July 26 2012)

forgot
Use TLSSPEC from configure instead of directly '__thread'.

add
Cleanup the atomics interface and support more atomic integers including pointers.
Fixed a bug where important behaviour was happening inside assert().
Add a check for hwloc in 'configure'.
Changed LPEL to use hwloc for CPU information and thread binding.
merge from Merijn Aug 21 2012
add GetWorkerCount, missing semicolon
add TaskGetWorkerId for lpel_decen
merge