Added whereHas to BaseRepository
Added whereHas to BaseRepository

Tried to work with a closure, but didn't manage with the already provided with or has functions, so decided to implement a whereHas
andersao/l5-repository,Soyhuce/l5-repository