Fix set data streamming mask2

This was causing locator info to not be returned when setting data streamming.

Also fixes problem with adding a callback to sphero.write and adds and emit event for write.