SITL: fixed SITL for example sketches

cope with no SITL object
AP_HAL: fixed printf example build
AP_HAL: addex UART_test example sketch
AP_HAL: fixed RCOutput example
AP_HAL: added RCInput example sketch
RC_Channel: update example sketch to copy input to output
DataFlash: fixed example sketch build
GCS_MAVLink: re-generate with updated upstream mavlink
AP_Mission: ensure location options are zero at start of mavlink conversion
Plane: prevent a change altitude command from causing a sudden descent

when a change altitude command comes in while a large glide slope
altitude change is present we could end up using the old glide slope
with the new altitude. This resets the altitude offset, causing a
direct altitude change
Plane: re-enable CLI on non-APM1/APM2 boards
AC_PosControl: use cos of pitch target instead of current pitch in accel_to_lean_angles
AC_PosControl: Add 3hz filter to _accel_target.x, _accel_target.y
AP_Math: add sqrt_controller function
AP_AHRS_NavEKF: add get_ekf_use function, make using_EKF function public
Copter: add ekf ready pre-arm check
AP_CompassMot: Initial commit
AP_Compass: Hook up an AP_CompassMot to each compass instance
ArduCopter: Supply AP_Compass with necessary data for AP_CompassMot
AP_BattMonitor: expose pin voltage