Testing Code

Hi guys,

Would anyone be able to look through the changes I have made to defines.h, GCS_Mavlink.pde and AP_State.pde please? I would really like to know if they will perform as desired.