Added caching of S3 bucket listing
Updated README with documentation on bucket listing cache
Fixed bug in "retrieve" and improved SQL in "restore.c"