Converted to using the GameEntitySet class.

Now we can grab iterators of the type that we want. In the future. Also
fixed a bug in the iterator that caused boolean operators to malfuction.