Add isFinalFunction, isAbstractClass, and isFinalClass to std.traits

http://d.puremagic.com/issues/show_bug.cgi?id=6614

As per Walter's [comment](http://d.puremagic.com/issues/show_bug.cgi?id=4427#c9) `__traits` should have template equivalents.