Making the Datastore input readers resilient to Query timeouts.

R=tkaitchuck
DELTA=87 (77 added, 4 deleted, 6 changed)

Revision created by MOE tool push_codebase.
MOE_MIGRATION=7183