This updates the extension to work with the latest Snap.as API and fixes the copy-to-clipboard functionality that broke with recent API changes.
This checks whether user is logged in or not before displaying the uploader.
This supports uploading an image to Snap.as, getting a URL back and copying the Markdown to the clipboard before closing the window.