AC_PosControl: use cos of pitch target instead of current pitch in accel_to_lean_angles
AP_Notify: modified external leds to include pre-arm check fails and ARM and GPS led for patterns