Display upload tab where possible

Instead of specifying as an option whether to show an upload tab, detects whether the OAuth scope allows for uploading, and displays the upload tab when it has write access to drive.