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.
Plane/AP_Mission:Updates for DO_JUMP compatibility
Plane/AP_Mission: Cleanup of leftover g.command_total and nav_command_index variables.
Plane/AP_Mission: Fix when transitioning into AUTO with waypoint 0 set, force to waypoint 1.
AP_Mission:Bugfix for decrementing do_jump repeats