BROKEN: General Entity Iterator

This is the initial framework for a generalized entity iterator that will
allow us to use only one type for a call. Unfortunately, it has memory
issues up the wazoo, and crashes. Just FYI.