Changes required to make it work

Hi,

I had some troubles getting the plugin to work - most probably because of api changes?

Firstly the stored tokens were not being cleared when I de-authorized the account. This led to just clearing the auth when there was an error.

Secondly, there was an undefined error when the scope was not defined on the params.

Hope this helps.

Jeremy