traits: took traits from utility and removed stdlib dependency.¹

1: This is needed in some type headers, which I'd prefer didn't
depend on heavier stdlib headers.
traits: took enable_enum_bitwise_ops from utility.
utility: added enum_bool().
system: changed num_cores() return type to unsigned.¹

1: Needless width constraint.
memory: doc tidy.