Added method allThingsOfType[T] to ToricGridWorld.scala.