making events emit after userscript runs
adding more detailed error messages
removing error arg from non error events
do not force a disconnect event
removing barriers to connect/disconnect
Moves gyp configuration to a config folder.
Cleans up gyp and root directory.
only process.ref on connect
Merge #115 r=@jiahuang: making events emit after userscript runs

goes with https://github.com/tessel/runtime/pull/649
v0.1.24
Merge #117 r=@tcr: Moves gyp configuration to a config folder.

This relies on tessel/runtime#651.

`config/` now contains all the gyp target files, leaving the root directory clean and saving me from clicking blindly through our configuration options all the time.
tessel/runtime#651 r=@tcr: Moves gyp configuration to a config folder.
tessel/runtime#653 r=@tcr: Corrects isNaN global to coerce to number value. Fixes #652
Sets the GPIO back to original state after recording
Set a reasonable recording level - same as Adafruit's driver
Stops hardware interrupts before proceeding with stopping playback. Otherwise, dreq interrupt occurs and throws a hardfault
Lets audio output fully complete before stopping stream
Move shift buffer into a runtime event to prevent memory corruption
Removes horrible wait loop that the datasheet says is the proper process but usually ends up in an infinite loop
Moved buffer flushing into mandatory stop sequence