Droneapi for droidplanner

Updated https://github.com/DroidPlanner/droidplanner/pull/743 to be able to merge with current master.