ArduPlane,AP_Mission: Modified get_cmd_with_index and set_cmd_with_index functions to use AP_Mission.
Plane / AP_Mission: Transitioned use of g.command_total to AP_mission.
Plane/AP_Mission: Initial integration of AP_Mission into Arduplane for waypoint and command management.