make result limit configurable in xwiki config