pep8 fix
Save account activity when joining a new group
Register account activity when user is promoted within a group
Register account activity when the user's role is downgraded in a group
Register account activity when the user is removed from a group
Register account activity when the user revokes itself from a group
Fix the int used for the activity log
Register account activity when an user applies or joins a group