MDL-15488, clean up phpFlickr code, remove all cache code(it has been implemented in curl class), clean up session code, remove useless code for repository_api.
MDL-15488, clean up phpFlickr code, remove all cache code(it has been implemented in curl class), clean up session code, remove useless code for repository_api.

dilawar/moodle