Palm’s new Pre is a smart, sophisticated and could give the iPhone and BlackBerry strong competition, Walt Mossberg says, but only if it fixes its app store and attracts third-party developers.