make SimplePager iterable

forech($oSimplePager …) will iterate over pages
Fix context lookup order