The demise of the independent bookstore seemed likely with the emergence of Amazon and corporate chains such as Barnes & Noble. But, once again, the odds-makers were wrong.