1) Made align power of two checks into new functions
2) Beginnings of making pool allocator thread safe
3) new define to enable or disable thread safety across all allocators