Changes to support OAuth 1 and 2.  

Also includes changes to let gadgets take advantage of OAuth from the Playground.