Flatten topic summaries & fix more migration bugs

Summary is an attribute of a ProjectTopicContainer now, instead of a
OneToOne model.