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
I think it makes the test easier to read if you include more (all?) of the exception message. I usually advocate for assertRaisesMessage.