Great America theme park has been sold for $70 million to a San Francisco real estate firm, JMA, who also owns Alpine Meadows Ski Resort, in a deal intended to resolve a two-year-old lawsuit filed by the park’s operators against the city of Santa Clara.