Breakaway state Somaliland has elected a former rebel commander as its new president