Will only take off once downloads are finished

Summary: Checks periodically if there are any unzipped jsons in the entity kind directories

Test Plan: Not too experienced with shell scripting, so played around with a test script that includes the relevant lines, and the behavior seems to be as expected. Please feel free to let me know if this aproach is completely bogus. :)

Reviewers: jace, mattfaus

Differential Revision: http://phabricator.khanacademy.org/D2901
Log/hipchat/email messages' end_dt made to match filenames' end_dts, which are actually next_dts

Test Plan: N/A
Write token file each time gae_download finishes. load_emr_daily will check if all 24 tokens are present in kabackup/daily_new/tokens before starting

Summary:

Test Plan: Again, I'm a shell scripting noob, so I wrote some test shell scripts to test my syntax in load_emr. The creation of new files I also tested locally in a python shell, just in case. :P

Reviewers:

CC:
Write token file each time gae_download finishes. load_emr_daily will check if all 24 tokens are present in kabackup/daily_new/tokens before starting

Summary: Colon snuck into the end of a line somehow...

Test Plan:
Again, I'm a shell scripting noob, so I wrote some test shell scripts to test my syntax in load_emr. The creation of new files I also tested locally in a python shell, just in case. :P

Typo fix in gae_download.py

Reviewers: jace, mattfaus

Differential Revision: http://phabricator.khanacademy.org/D3055
Response to matt's review

Put writing of token files into separate function to be called in main(), made load_emr_daily check that number of token files is less than, rather than unequal
 to, 24

Test Plan: Again, tested the relevant part of the shell script locally
Token files stored in daily_new under respective dates, not deleted; typo fix in find command

Test Plan: Tested token file creation locally in python shell, tested counting token*.txt files locally
Lint errors...

Test Plan: Got rid of random extra variables than snuck in from copying and pasting