cache: fix non-debug compilation
cache: port graphics magick
cache: port lua code to new cache interface
cache: port live view
cache: port facebook
cache: fix flickr
cache: fix picasa