[ready for review] Async cohort upload

Change-Id: Ia9a27ded971b632531b03d63b91ba65a1a17b29b
Card: analytics 1242
Card: analytics 1245
Card: analytics 1246
Card: analytics 1249
Card: analytics 1250
Card: analytics 1262