adding upload_archive_from_ref

As an option to upload_archive, which takes a file path, adding
upload_archive_from_ref which takes a reference to data, so you
don't have to write it out to the filesystem if you already
have it in memory.
Merge pull request #4 from kgoess/from-ref

Adding upload_archive_from_ref to avoid having to write out refs to memory data.