A shooting at a church in Jordan has left eight people dead, and King Abdullah has condemned it as a terrorist attack.