Allowing the mygroups to paginate when cleanurls on (Bug #1374184)

To test:

1) Set up a few users all being members of many groups (I tested with 17
groups)

2) for each user edit their profile page and edit the 'My groups'
block and set the 'Maximum number of groups to display' value to
something less than the number of groups available
3) Then test if you can paginate on both logged-in users profile page and
other users profile pages

Test for both when clean urls are on and off

Change-Id: I26a247fc4a692b2e82b6c235d41172ff35fadeac
Signed-off-by: Robert Lyon <robertl@catalyst.net.nz>
Merge "Allowing the mygroups to paginate when cleanurls on (Bug #1374184)"