Fix a problem with the initial datasync system.

Now it iterates through the results of large queries with cursors,
so as to avoid datastore timeouts.
Merge pull request #18 from djpetti/devel

Fix a problem with the initial datasync system.