Rival ethnic and religious gangs burned homes , shops , mosques and churches in two days of fighting triggered by a disputed local election in the city , which lies at the crossroads of Nigeria 's Muslim north and Christian south .