Send all upload request parameters inside FormData

There is no reason for concatenating some of them as a querystring.

Change-Id: Ifacbaa89f80a25a9cd7fada96fe7e9ee7da1d05b
Add photo upload support for Firefox

And possibly any other browser that supports FormData and FileReader.

Change-Id: Id54befc5c5aab662d9a1b9eaf170b5f9c4a75a77
Merge changes Id54befc5,Ifacbaa89

* changes:
  Add photo upload support for Firefox
  Send all upload request parameters inside FormData