Man accused of discharging firearm at Brackenfell school appears in court