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
Did you add a test that would have failed with the previous typo here? (Sorry, hard to tell due to amending commits).