After hours of relative calm at Jerusalem landmark, crowd of hundreds — some masked and flying Hamas flags — attack police with stones and fireworks; officers deploy tear gas in response; 57 injured