Some cleanup of FPGA clear_bit and set_bit.

Factor out common code.
Cleanup oscillator enable/disable in status/control.
Build with CMake.

--BRJ and CAR
POSIX-compatible sleep().

--BRJ and CAR
Blind attempt to update MATLAB driver for CMake build.

--BRJ and CAR