GetEntityClassname should handle the case where the world entity has not been created yet

This fixes a case where some metamod plugins were creating entities in a LevelInit pre-hook (thus, before the world entity was initialized).

The above use case is probably bad, but at least this would ensure the same behavior of pre-1.6, and I don't see anything too bad about it.