KAMPALA (Reuters) - The Ugandan military said on Sunday it had detained a general whose frequent criticism of veteran leader Yoweri Museveni has been an irritant to the authorities, potentially raising tensions ahead of next month's presidential election.