Amazon has announced it will buy Goodreads, a book discovery and recommendation website. San Francisco-based Goodreads was founded in 2007,…