A 23-year-old Nigerian man has been charged with trying to blow up a packed passenger jet just before landing at Detroit airport.