geonode group security redux
Clean up the groups tests.

* Explicitly import the Group and GroupInvitation classes.
* Add a test case to make sure the token URL route works when a user is invited to a group.