AP_Rally library

Basically just Michael Day's code from ArduPlane/rally.pde refactored
into library form