Lots of changes to support new jinx library, Flickr https support, oauth, etc.