Hamas claims responsibility for Jerusalem shooting that killed three and wounded eight