Allow to exclude with name classes selcted w/ typedef

this fixes ROOT-5952.
Now it is possible to exclude classes selected with pattern
or name counting on their real name and not any of their typedefs.