added PaginatedResults support to getQuestions and getSolutions