An attack on a mosque in San Diego has resurrected fears about violence at houses of worship. Attending a religious service remains a remarkably safe thing to do.