Barnes & Noble went from near-bust to back in action and the CEO of the nation’s largest remaining book chain credits a revived, independent-minded experience for helping the company take on Amazon.