Fix case sensitivity for special class names

The current behaviour in the name resolver visitor is incorrect as special class names are case-insensitive as demonstrated here:
http://3v4l.org/4g7Hj
The test suggests, that result is always in uppercase. However code change lowercases it.

I think test should check, that regardless of case in PHP file the result is lowercase.