Added paginator support to connections

Based on DRY principle, it is better to add paginator support in the module to avoid writing paginator codes everywhere.

Example:

generator = graph.get_connections(your_object_id, 'photos', as_generator=True)
for page, url in generator:
     do your stuff with the page

The default value of as_generator is False to maintain compatibility.