Update for newer Google Spreadsheet API

This modified code updates the plugin to work with the newer Google Spreadsheet API, using OAuth to connect to Google spreadsheets.