Updated version.
Added upload_file(), and split upload code into smaller more compartmentalized functions. This will allow more flexiblity for uploading single files (i.e. setting the remote filename). upload() is still available, no functioanlity has been removed.
Simplified multipart upload.
remove trailing whitespace
Fix bug with upload_file() with multipart=True, where the incorrect
file pointer was being passed to upload_part_from_file()
Merge pull request #10 from rajbot/upload_file

Upload file