Fix insertion/deletions from relationships
Update ContestUpdater to use (some of) SQLAlchemy's introspection abilities.