Making helpers/object_get() capable of handling Eloquent collections

This was discussed in #4853 and should fix #2548, #2809, #4337, #641 and hopefully #1160.