some modifications for libcflie

That's what I've did while creating a headless client for the  Crazyflie:
https://github.com/aholler/crazyflie-client-cpp 
I see indentation errors here in your parts, not in mine. When your favourite editor displays this differently, please check this before making pull requests. This just gets more difficult to read.