resubmitting Sravan's upload-api and download-excel pull request

https://github.com/dimagi/commcare-hq/pull/462

From my QA locally, it seems like this is g2g.