Hotfixes for HIL and mode switching.
Merge branch 'master' of github.com:PX4/Firmware