The Supreme Court may soon rule on how the first sale doctrine applies to textbooks. But what about the ebook on your iPad? Who owns that?