Control.UAV.Ardupilot: Added feature to detect which vehicle is being controlled, an...

...d uses this information to set correct error mode.