Add a cache for looking up class name in NameClassComparitor

This seems to improve speed at the cost of memory. Honestly not sure why
Class#name appears to be (more) expensive.
Merge pull request #43 from soulcutter/class-name-caching

Add a cache for looking up class name in NameClassComparitor