A passenger has been arrested after he opened the emergency exit of a plane before going down the emergency slide.