Add `std.traits.isNestedFunction`.

As I see no cases where nestidness check for both types and functions is required a new `isNestedFunction` template is created instead if adding an overload to `isNested`.