Improve isAbstractFunction and add unittest.
Fixes Issue 6614 - Add isFinalFunction and isFinalClass.

Add isAbstractClass to mirror __traits().
Merge pull request #1099 from AndrejMitrovic/Fix6614

Add isFinalFunction, isAbstractClass, and isFinalClass to std.traits