Added unit test for pulse detector.
Moved obsolete code to defunct.
Eliminated rmg_* name redundancies in module.

run_rmg --no-usrp works, but code needs to be tested with
RMG plugged connected.
Eliminated detectmod_detect::open_file()

All this function does is call detectmod_detect::open() and writes
metdata. Now write_data() does this.
Modified detecmod_detect::write_data().

This method now uses pulse_data as a data streamer
for .det files. pulse_data::open() opens the file
and writes the metadata header. When unwrapping the
circular buffer, the two chunks are written with
pulse-data::write_chunk().
Cleaned up output of apps/read_det.
Combined pulse_data and circ_buffer classes.

Now detector uses pulse_data for data storage directly.
TODO: unit testing, circular buffer index offset for
accessors, fix parameter names, clean up, and comment.
Removed obsolete circ_buffer and defunct/ code.
Merge branch 'api' of https://github.com/QRAAT/QRAAT into api