return state in 'bulbstate' event

… and minor cleanup, courtesy of jshint for lifx.js

… and make packet available via lifx