bladeRF-cli: Renamed input interface functions

Previously this was only for interactive mode support, and has since
grown to include scripting support. Following commits will include
support for commands specified via the command. As such, this renaming
is intended to clear up misnomers before further adding to any
confusion.
bladeRF-cli: Changed CMD_RET_* -> CLI_RET_* and similar fn renaming

This is another non-functional, code cleanup (yak shaving) item.

The CMD_RET_* codes are now used throughout the CLI and not just in
commands. Therefore, they have been moved to common.h and renamed
appropriately. Similar changes have been made with functions like
cmd_strerror() -> cli_strerror().
bladeRF-cli: Added -e <command> support

This option allows interactive mode commands to be executed from the
command line. Multiple -e <cmd> arguments may be provided; they will be
executed in the order they are specified.

Operations/command are performed in the following order:
    - Command line options (e.g., FPGA load, firmware flash)
    - Commands from '-e <cmd>' arguments
    - Commands from script files
    - Interactive mode commands
bladeRF-cli: Differentiate between file "not found" and I/O errors
bladeRF-cli: Cleaned up items reported by Clang static analysis

tx.c - Removed dead assignment, fixed leak due to incorrect status check
main.c - Memory leaks in rc_config items
conversions.c - Removed dead assignment
script.c - fileno() doesn't fail when given valid FILE*. Removed false positive.
libbladeRF: Addressed items identified by Clang scan

tests/test_sync/src/test.c:
    Changed sample buffer type to int16_t. These alleivates noise from static
    analysis tools regarding a type mismatch with sizeof(), and better
    exemplifies the buffers that should be used in conjunction with the SC16 Q11
    format.

tests/test_repeater/src/repeater.c:
    Fixed unchecked pthread_cond_wait result.

tests/test_async/main.c:
    Fixed unchecked return values, minor cleanup.

src/lms.c:
    Removed dead assignment.

src/backend/usb/usb.c:
    Corrected unchecked return value.

src/backuend/usb/libusb.c:
    Fixed uninitialized variable in error path.
WIP: Modify the RXVGA2 calibration routines.
Calibration update.
libbladeRF: Moved LPF DC tuning value write into address loop

This is just for readability. There's no functional change, since
there's only 1 address to loop over anyway.
libbladeRF: Added register settings from LMS FAQ to DC calibration fns

The following changes have been added to lms_dc_cal_loop() and
lms_calibrate_dc(), based upon recommendations from the LMS 6002D FAQ
(version 1.0r10).

    - Use the DC_REGVAL to determine success or failure, as DC_LOCK
      is reported (in the FAQ) to be unreliable. Retry if the result is
      31, setting the count to DC_CNTVAL to 0.

    - Enable DC comparators during DC calibration (default), and
      disable them upon completion to address linearity issues.

    - Disable DACs while performing TXLPF DC calibration
bladeRF-cli: [WIP] First cut at RX DC auto calibration

Includes a workaround for convergence issues - further investigation
required. General cleanup and documentation changes still required.
bladeRF-cli: [WIP] Use fewer buffers for dc cal, start with cal at 0,0
bladeRF-cli: [WIP] Added TX DC cal operation. Further cleanup required.
bladeRF-cli: Check for divide-by-zero in interpolation function
libbladeRF: Be explicit with RXVGA2 cal.

It was seen that the VCM will sometimes come back in a bad state.
This register has a very well known value that it should be.  Setting
it to be these explicit values seems to help alleviate putting the
LMS is a bad state.

Investigation is required to figure out why the VCM is coming back
scrogged.
cli: Extend out DC, GAIN and PHASE max/min.