Separated IsTagDecl into TryGetClass and TryGetEnum, added IsClass() and...

... IsEnum().