Pagination + return metadata

Hi Peter,

I added pagination to items and changed the code to use the max_pagination config setting.
I also changed the return type to include the metadata to the query -- which I called 'context'.
I did not add the total numbers of items. I did not want to go to the database directly.

Best regards,
Anja