Father Brian J. Shanley, O.P., was formally invested as president of St. John’s