Update tests for updated main models
Migration for updated project membership layout

Instead of being defined in an "affiliation" field in UserProfile, a
user's membership in a project is managed through ProjectRole objects,
introduced in 1c68d81, which are intermediate models between Projects
and Groups.