Implemented entity filters. Part of it is commented out - I still need to work out a bug in the EntityListIterator decorator. With this commit, all of the scenarios in the design document have been accommodated.