adds wifi events from js

Goes with https://github.com/tessel/wifi-cc3000/pull/1
Is this where LEDs are handled? I thought they were handled elsewhere...