Overloaded the upload method to support directly supplying the API key.

By supporting this kind of method, we will cut down on the number of http requests in half.  We no longer have to explicitly query for the latest valid API key AND upload the file.