Somali capital Mogadishu hit by heavy gunfire and clashes as rival political factions face off before planned protests.