Added pull method to Collection class
Added default parameter
Pull makes now use of array_pull
Merge pull request #4455 from luukholleman/4.1

Added pull method to Collection class