Fixed #23822 -- Added support for serializing model managers in migration

Ticket: https://code.djangoproject.com/ticket/23822

- [x] Implementation
- [x] User documentation
- [x] Reference documentation
- [x] Tests
```python
In [1]: from django.db import models

In [2]: models.Manager() == models.Manager()
Out[2]: True
```