Add pagination support for users and connections

Adds paging support to users and connections.

Tests have been written for getting pages for users, although they are currently failing due to (I believe) the server implementation of paging for enterprise users.

Connections do not have any tests at present, the current ones all fail.