Karabegović, Todo Hasanbegov, 1878-1901