SAN FRANCISCO (Reuters) - Twitter Inc's monthly active users rose a better-than-expected 24 percent in the second quarter as the online messaging service mostly succeeded in stemming a dwindling pace of growth, sending its shares soaring after hours.