fix getPager

criteria "collection" didn't work (check for instance of CollectionInterface caused by missing use-statement)
Merge pull request #186 from arosslau/patch-1

fix getPager