Gives a numeric name at a annonymous class.

All anonymous classes have a numeric name
and isAnonymous method is deprecated in
CtTypeReference class for a new impletementation
in CtClass. Adds a test case to test isAnonymous
method in CtClass.