Adding config to allow the sorting/limiting of groups displayed (Bug #1304053)

Now the mygroup block can be sorted and limited to restrict the number
of groups to display.

Also added pagination to make the restriction of groups displayed
more user friendly.

Change-Id: I4c6174a30244fd266ac3ca4806c9f61606e69759
Signed-off-by: Robert Lyon <robertl@catalyst.net.nz>
Merge "Adding config to allow the sorting/limiting of groups displayed (Bug #1304053)"