Create missing organizations for memberships

If an organization doesn't already exist, create it before saving the
membership.