Fixed #22977 -- Check clashes between related_name and manager name

https://code.djangoproject.com/ticket/22977
Actually "Reverse query name" is something different IMO, see http://django.readthedocs.org/en/latest/ref/models/fields.html#django.db.models.ForeignKey.related_query_name.