Reset the collection state machine on all I2C errors, increase the retry count.
In the case of a repeated start, we won't get a STOPF/AF status, but we still need to complete the old transaction before handling ADDR.
Implement the retry counter for message-vector based transfers.
Use multi-part transactions rather than separate transfers to avoid racing between the ioctl and thread-side interfaces.
px4io: ensure RC_OK status flag is set on good input
px4io: fixed logical vs bitwise typo
A couple of logic fixes from Tridge.
appconfig: disable mathlib and associated examples on APM

these are far too large (777 kbyte) and we can't fit them with the
ArduCopter flight code
px4io: make uploader more reliable

avoid seeks, lower verify recv size and removed cruft
px4fmu: APPS_BINDIR has been renamed to FS_BINFS
px4io: setup for debugging on ttyS1
px4io: added isr_debug()

this is useful for debugging px4io internals
px4io: bit more verbose debug output
px4io: don't spam console on FMU timeouts
headers: fixed comment on clock timing
px4io: added a "px4io debug N" command

this allows the debug level in px4io to be controlled from nsh
on the FMU
px4io: added PWM_IO_SET_FEATURES ioctl

useful for controlling manual override behaviour
px4io: reset the I2C bus if dead for 0.1 seconds