Add the Worker class for multithreaded processing
Update upload.rb to use the new Worker class

Spin up five workers and then push Proc objects onto the workers' job
queue instead of creating a new thread for each file to upload. This
commit should fix the deadlock issue that occurred intermittently
before.