fixed some potential problems in UAVpid library
Merge branch 'master' of http://github.com/PixHawk674/Firmware
Merge branch 'master' of http://github.com/PixHawk674/Firmware