David Smith Cairns, 1862 - 1946, Principal of Christ's College, Aberdeen, and theologian