Update Collection.class.php

Added implementation of php native iterator interface. 
Changed return type of next function to return current element before incrementing collection position
Also added alias functions hasNext, valid, and key.
Merge pull request #1 from raymsmith/master

PHP Iterator