From Aaron Swartz to Sci-Hub, battles over the paywall show how academic publishing turned public research into a billion-dollar gatekeeping industry.