Add RepeatingGenerator

In compat, we have many generators such as logpages(),
recentchanges() with parameter `repeat`, while in core
this parameter is missing. RepeatingGenerator is a way
to bring its functionality back.

Change-Id: I3da94de6bec0d5638f7be39597db90f7a1e7bc6d
Merge "Add RepeatingGenerator"