Implemented paging for globus events polling

And removed some useless code as well.
Merge branch 'master' of github.com:asimonet/active-data-aps