EntityIterator with unit tests

I found that I regularly need to iterate over different families within a system.
This is similar to IteratingSystem, but also allows a parameter to be passed.
Includes Unit Test.