'Arguments:
query     -- The template query
interface -- The substanza of the query, for example disco_items
results   -- The query stanza\'s interface which provides a
countable list of query results.
amount    -- The max amounts of items to request per iteration
start     -- From which item id to start
reverse   -- If True, page backwards through the results
Example:
q = Iq()
q[\'to\'] = \'pubsub.example.com\'
q[\'disco_items\'][\'node\'] = \'blog\'
for i in ResultIterator(q, \'disco_items\', \'10\'):
print i[\'disco_items\'][\'items\']'

def __init__(self, query, interface, results='substanzas', amount=10, start=None, reverse=False):

    self.query = query
    self.amount = amount
    self.start = start
    self.interface = interface
    self.results = results
    self.reverse = reverse
    self._stop = False
