libbladeRF: Address warnings in cyapi.c (Visual Studio 2010)

Specifying the enumeration name causes VS2010 to emit C4482:
    "nonstandard extension used; enum 'enum' used in qualified name"

Although I like the explicit use of the enum name, there are no name conflicts
here. The enum name has been removed to ensure the build runs cleanly.
libbladeRF: Check $HOME before using getpwuid() to determine home dir

Per the getpwuid() man page:

    An application that wants to determine its user's home  directory
    should  inspect  the  value of  HOME (rather  than  the  value
    getpwuid(getuid())->pw_dir) since this allows the user to modify their
    notion of "the home directory" during a login session.  To  determine
    the (initial) home directory of another user, it is necessary to use
    getpwnam("username")->pw_dir or similar.
libbladeRF: Comment and copyright date touch-up
libbladeRF: Removed extraneous padding character in find_file()

full_path is allocated with (PATH_MAX_LEN + 1) characters. Using
PATH_MAX_LEN as the max is sufficient to ensure the terminating '\0'
is left in place.
libbladeRF: Touched up calloc() call

Touched up calloc() invocation just for the sake of having the
nmemb & size parameters match.
libbladeRF: Handle file_size() being called with a directory handle

It appears that instead of returning -1, ftell() returns LONG_MAX
when called with a directory handle. file_size() has been updated
to check for this.
hdl: Removing unused signals and fixing NOW.

NOW timestamp was not being considered properly when reading
the metadata FIFO.  This is fixed by throttling the reading of
the metadata FIFO based on the length of the samples.
hdl: Bumped FPGA version to v0.1.2
libbladeRF: Added TX timestamp now/scheduled test

This test exercises switching between the use of the TX NOW flag and
schedule TXs. This was previously an issue (#334) with FPGA <= v0.1.1,
and has been resolved in FPGA v0.1.2.
host: Updated and moved Windows C99 compatibility headers

Visual Studio 2013 now includes these headers, so they have
been moved as not to conflict (even though they are intended to
be equivalent.)

Our stdbool.h was providing an incorrect typedef; sizeof(bool)
should have been 1, not sizeof(int).

Per http://msdn.microsoft.com/en-us/library/tf4dy80a.aspx:
    "In Visual C++4.2, the Standard C++ header files contained a typedef
    that equated bool with int. In Visual C++ 5.0 and later, bool is
    implemented as a built-in type with a size of 1 byte. That means
    that for Visual C++ 4.2, a call of sizeof(bool) yields 4, while in
    Visual C++ 5.0 and later, the same call yields 1. This can cause
    memory corruption problems if you have defined structure members of
    type bool in Visual C++ 4.2 and are mixing object files (OBJ) and/or
    DLLs built with the 4.2 and 5.0 or later compilers."
libbladeRF: Moved tests out of libbladeRF/ directory

Because the libbladeRF tests were nested under the libbladeRF build,
they were being built with the include paths, library paths,
etc.  used when building libbladeRF.

This was masking build issues that libbladeRF users might experience,
such as MS Visual Studio 12 and earlier failing due to a lack of a
stdbool.h header. (We now include our stdbool.h, and have an option to
disable our C99 compat includes.)

Therefore, these tests have been moved in the build hierarchy to avoid
cross-pollination of the libbladeRF build environment and the tests'
build environment. This should better represent users building against
libbladeRF, and hopefully bring issues to light earlier.
libbladeRF: Do not include <stdbool.h> for C++ code in API header

This is unneccessary and causes build issues when building C++ programs
in Visual Studio 2012 and earlier.
libbladeRF: Added C/C++ build tests

These programs are just intended to ensure a simple C/C++ programs using
libbladeRF builds (without requiring anything from host/common).
libbladeRF: Removed unnecessary -lm and math.h from example program