Add support for disabling pagination in BP_Groups_Group::get() by passing per_page=-1

Also adds supporting unit tests.

Fixes #5477

Props dcavins

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8829 cdf35c40-ae34-48e0-9cc9-0c9da1808c22