Update authentication and api endpoint urls to https.

We've recently updated our https endpoints for the Flickr API, and we would like API consumers to begin accessing the API via SSL for the benefit of all Flickr users.

I've updated the most important URLs in this commit, authentication and the API endpoint. However it also looks like the client functions are designed to use the protocol of the calling page. I would advise updating those to always call via https as well.