Made batch mode default, added switch for interactive, Issue #45
Fixed missing bracket and c&p error in bladeRF.c, removed dup defines, moved define from .c to .h
libbladeRF: Use _completed variant of libusb event handler call.
libbladeRF: Updated calibration routine.

Also updated the calibration routine in the CLI.  The CLI might need rethinking since, for the calibration to be successful, the module must be enabled.  Currently unless we're actively transmitting or receiving, the module is disabled.

Need to add a way to figure out if the module is enabled before trying to calibrate it.
Merge pull request #71 from gpaliot/issue-45

Made batch mode default, added switch for interactive, Issue #45
bladeRF-cli: Removed batch mode (-b) in favor of interactive mode (-i).

This breaks backwards compatibility, but we're still in an "unstable"
mode at this point. Please update scripts and documentation accordingly.
Merge pull request #72 from gpaliot/linux-kernel-fix

Fixed missing bracket and c&p error in bladeRF.c, removed dup defines, m...
Added variable-level logging mechanism

Added a mechanism to log messages with different priority levels, and to
filter which messages are output by setting a threshold level. The
function to set the current log level/verbosity is exposed through
libbladeRF.h, while the logging function/macros themselves are private
to this project, and are present in log.c/log.h. Callers should use the
convenience macros bladerf_log_[level]() to issue their log messages.
These macros piece together a format string that contains the message
priority and, for warning and higher priorities, the function and line
number on which the message was logged. Also, warning level and higher
level messages are output to stderr, rather than stdout.
Replaced dbg_printf's with new logging mechanism

Replaced all of the dbg_printf calls in the library code with logging
calls that utilize the new logging mechanism. I just made some educated
guesses at the most appropriate log level for each message.
Merge pull request #74 from frank8371/issue31_squashed

Added logging mechanism (Issue #31)
bladeRF-cli: Added log level verbosity as a cmd line switch

The -v or --verbosity flag can be used to set the libbladeRF verbosity.
In the future, we should also start using this to potentially supress
CLI output.

Also fixed in this commit:
    - bladerf_open() typo in help text
    - Removed "b" option from OPTSTR, as this is no longer supported
bladeRF-cli: Bumping CLI minor rev