Passengers and crew members had to overpower a 17-year-old who got onto a plane with a shotgun and ammunition in Australia.