Yahoo has bought app analytics company Flurry to help boost its advertising revenue from smartphones. San Francisco-based Flurry helps app…