A 16-year-old boy has been arrested after a western Sydney mosque was allegedly targeted with threats of a mass shooting referring to the Christchurch massacre, sparking a major police investigation.