XWIKI-9135 Access all page information in one rest request

Initial implementation for review if the API is right