Added iterator functions to the Collection class.

This should allow conventional iteration from a table class
ex. foreach($cage->animals() as $animal);