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

Ticket: https://code.djangoproject.com/ticket/23822

- [x] Implementation
- [x] Documentation
- [ ] Tests (`test_state` is missing)
I never worked with the GIS part. Is the `GeoManager` the default replacement for `Manager`? In that case this line should be dropped.