libbladeRF: Correct equation for samplerate.

Corrected a samplerate equation calculation which helps determine how
many transfers should be outstanding over any timeout period at a
specific samplerate.  The samplerate should always be greater than the
calculated number, not less than.
fx3_firmware: Clear DMA buffers when disabling an RX or TX module

Stale RX and TX samples have been reported (issue #255). This occurs
because the CyU3PResetEp() call does not reset DMA channels and their
underlying DMA buffers, nor does it clear the DMA buffers associated
with an endpoint.

Use of the existing ClearDMAChannel() as is would have required some
ridiculous shoehorning, so some cleanup was done:

    - Endpoint halt & ACK operations have been removed from
      ClearDMAChannel(). These operations are outside of the scope
      of clearing DMA buffers, and have been moved to their respective
      locations in handling set/clear halt endpoint requests.

    - reset_endpoint() has been added to the NuandApplication function
      table. Internally, this operation is now used in performing
      the halt_endpoint() operation.

    - Misc return value checks added. Granted, these don't help much
      as there's no accessible debug log.
fx3_firmware: Added support for reading back FW loopback state
fx3_firmware: Bumped patch revision (v1.7.1)
libbladeRF: Added FW version v1.7.1 to compatibility matrix
libbladeRF: Added readback of FW loopback, disable it for LMS loopback

Added the ability to read back the state of FW loopback from devices
running FW v1.7.1. While it is possible to enable FW loopback mode in
v1.7.0 firmware, libbladeRF will now enforce the v1.7.1 requirement so
it can correctly read back and report the FW mode.

bladerf_set_loopback() has also been updated to ensure that the
FW loopback is disabled when switching to an LMS loopback mode.
libbladeRF: Added temporary workaround for FX3 "Already started" error

This error from the FX3 is likely harmless, and I'll investigate further
soon. It only appears to occur when the firmware loopback mode times
out, and does not hinder further use of the device.

Given the lack of apparent severity, this band-aid is intended to keep
libbladeRF from overreacting until some time can be spend fixing the
underlying issue.
bladeRF-cli: Added support for enabling/disabling FW loopback
bladeRF-cli: Added note about viewing available loopback modes
libbladeRF: Fixed LPF mode readback

This became inconsistent when the LPF disabled mode was updated
to both disable bypass and power down the LPF in a5402b78.
libbladeRF: Added simple set & readback tests for control functions

This program performs some simple operations with the various libbladeRF
"control" functions. It is mainly intended to only check for the
presence of grossly erroneous code in these functions, that would cause
crashes or bizarre results.
libbladeRF: Account for FPGA offset of gain correction value
hdl: Modified FPGA correction phase/gain for 16-bit accesses.
debian: Update firmware pointer to v1.7.1
Merge pull request #287 from rtucker/dev-debian_fw_v1.7.1

debian: Update firmware pointer to v1.7.1
hdl/libbladeRF/debian: Bumping FPGA v.0.0.6.
libbladeRF: Updated README.md

Removed some dated text, fixed Doxygen make targer, and linked to CHANGELOG.
libbladeRF: Version bump (v0.16.1)
host: Removed bladeRF-flash

A majority of functionality presented by bladeRF-flash is now duplicated
in the bladeRF-cli utility.

Now that the bladeRF USB interfaces have stabilized more and the
instructions for bootloader-based recovery are available, this program
is generally no longer needed. As such, it is being removed to avoid
future neglect and bitrot.
host/misc: Added a Windows build script