added function to get an item from the collection
added a function to get an element from the collection.
it is very helpful if one needs the same frame from different sequences. the function also gives the ability to get the nearest by index frame. it helps to deal with sequences with holes or sequences of different lengths.