A drunken air passenger whose unruly behaviour forced a New York-bound flight to divert and land in Dublin has been spared jail and ordered to make compensation and charity payments totalling €10,000.