Product uploader fixes

fixes a few serious issues in the product uploader (enumerated in the commits)

reported bug was http://manage.dimagi.com/default.asp?124663 but turns out we also just weren't saving products when they weren't a multiple of 500 (including when there were fewer than 500)
although i guess that would imply that there should be translations....  https://github.com/dimagi/commcare-hq/pull/3903