Fixes issue with setDataStreamming mask2 and write callback.

There was a problem when trying to get locator data with setDataStreamming, this fixes the issue with the mask not being passed to the packet and also adds support for callback in the sphero.write, as well as emitting a 'write' event.