Myanmar held its first general election in five years under military supervision, even as a brutal civil war continues across large parts of the country.