Israeli police have detained a thirteen year old boy who shot and wounded two people in the second attack in occupied East Jerusalem in as many days.