Add number type hint to dommy.utils/class-index

While building a project that uses Dommy with the latest ClojureScript release (0.0-2411) I noticed some warnings stemming from uses of this function in arithmetic contexts. To prevent these warnings a type hint of number was added to the dommy.utils/class-index.