XWIKI-9135 Access all page information in one rest request

First version for initial review to see of the API choices are right