Upload 10 files at a time, plus other minor changes

- My editor stripped trailing spaces. Please forgive me :)
- There were also some minor spacing/indentation inconsistencies I
  fixed.
- Changed behavior to upload 10 files at a time instead of uploading
  each file one at a time.  This *drastically* improves performance of
  the task.
- Added maxNumberOfConcurrentUploads option which defaults to 10 to
  control the above behavior.
- There were two 'latedef' entries in .jshintrc file. In addition to
  removing the redundant one, I sorted them to make such a future
  mistake less likely.