Added C++11 type traits.
Optimized foundation::Array.