Add attributes to std.numeric and std.math.

It seems all of std.numeric can be covered by @safe pure nothrow @nogc at the top, except for one cast to immutable. I looked into std.math as well; it was mostly covered but I added a few missing attributes.