Add getEntitiesByClass and getEntitiesByClasses

Location-specific versions implemented on CraftWorld.