[TASK] getPageIds now returns the page IDs of all root pages. If no root page is set, then it assumes page ID 1 is the root page. Refs. #47