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
The `class_name` argument isn't documented and I cannot find any place where it's being used. Not sure why it even exists.