“Star Wars,” “Superman,” “Avatar” — for decades, Hollywood has found box-office treasure in fantasy science fiction epics about heroes adventuring in strange and mysterious lands. “John Carter,” director Andrew Stanton’s upcoming Martian war tale, is based on the 100-year-old Edgar Rice Burroughs yarn that helped inspire many of those stories.