Update to use encodeURIComponent for escaping URL and title

this will correctly encode & etc in the page title and the URL when passing them to Pinboard.