Fixed bladerf_get_device_list return value for condition where no
devices are attached. (Now returns 0, previously returned -1).
Also added a missing catch of a malloc failure and now return appropriate
error value.
Jon's TODO items in the following commits will include:
- Implementing the init/deinit functions
- Implementing the device info and programming functions
- Integrating ../app items into this lib
- Adding libbladerf support to gr-osmosdr