A few enhancements:

* Add in an onProgress listener for uploads.
* Properly trigger the onError callback when initial metadata submission fails.
* Added in a baseUrl option to override the default Drive-centric base URL. This makes this class usable with, e.g., YouTube API uploads, or theoretically any modern Google API that supports uploads.