solves issue with retrieval of Openrosa max upload size header, fixes issue with file uploads inside repeated fields (same name), closes #474
fixes issue where failed file retrieval blocks uploads, part of #475, also includes partial fix for #474 (rest is in previous commit)
nothing
Merge pull request #476 from modilabs/file_upload_fixes

File upload fixes