Krnić, Ivan, 1878-1937