mavlink: Start the same in HIL mode as in normal mode. Requires all HIL tools to run sh /etc/init.d/rc.usb now. Improve UART error handling
Reduce data manager SD card wear and tear

When the data manager was first designed each file record contained a 2
byte header and an 126 byte data section, resulting in a record length
of 128 bytes. Along the way it was decided to add 2 spare bytes to the
record header, but regrettably the data section was not correspondingly
reduced in size so we end up with a record length of 130 bytes. This is
bad since it does not align with SD card flash sectors and results in
more erase/write flash cycles than necessary thus reducing the SD cards
life.

This update reduced the data section of the data manager to 124,
resulting in an optimal record length of 128 bytes.

In order to avoid the reuse of data previously written data in the old
format, which could result in catastrophic misinterpretation, the data
manager file is checked at startup. If it is found to be in the old
format, it is deleted and recreated with in the new record length. In
this case previously stored data is lost, but that is far safer than the
unpredictable result of using the old file.
Merge pull request #854 from jean-m-cyr/master

Reduce data manager SD card wear and tear
Revert "HIL: Increased MAVLink link wait time based on previous experience that this is timing sensitive."

This reverts commit 78bf7ed969624eacea35ae2bf402596aecb3c5a6.
Revert "HIL: Increased MAVLink link wait time based on previous experience that this is timing sensitive."

This reverts commit 78bf7ed969624eacea35ae2bf402596aecb3c5a6.
Merge branch 'master' into ekf_params
Merge pull request #850 from PX4/mavlink_startup_cleanup

mavlink: Start the same in HIL mode as in normal mode. Requires all HIL ...
Merge branch 'master' of github.com:PX4/Firmware into ekf_params