apps.core.models.assignment_group: Better clear only_candidate when merging groups.

More efficient and 100% sure to work. See #574.
apps.core.models.assignment_group: Use raw sql to solve the challenge in #574.
Removed all traces of only_candidate. Closes #574.