Laravel/Eloquent triple model many-to-many relation