implemented missing method collect in RestCollectorPlugin; added test class; removed RestIteratorFactory class
implemented missing method collect in RestCollectorPlugin; added test class; removed RestIteratorFactory class