Seven people are dead and 40 others are wounded after gunmen opened fire during a funeral at a church in Jordan on Friday.