Voting began on Sunday in a Bangladeshi general election that has been plagued by deadly violence and is being boycotted by the main opposition party.