[4.2] Add Search To The Collection Class

Added the ability to perform array_search on Support\Collection. This is #4369 rebased and retargeted at 4.2. @glovell's name remains on the commit (infact, it is actually the same commit).