update gradle build file
handle exceptions loading from disk cache
add a toString method for flickr photo objects