Starting to change this to self in the device.js
linted a lot of the device.js file and converted all this. references to
self.
Added & performed basic streaming functions/tests.  Need to add/make
integration tests (actually use a device)