Police have been given more powers after the stabbing rampage at Westfield Bondi Junction, and the church attack.