Added a method to retrieve random element(s) from the collection's internal array. Work done by @daylerees in pull request #3002 which Taylor requested be sent to the 4.1 branch.