Get rid of the repeated for solid: for side: loops

Added an iterator to Entities that loops through all the brush sides.