Make os_migrate_demo module compatible with migrate 2.6-rc1.

#3236 

Note that migrate of ``os_publications`` is broken.