[NRY] adds wifi events from js

Goes with https://github.com/tessel/wifi-cc3000/pull/1
tm_event_unref in the callback, not on triggering. Also note that you never ref this event, so this doesn't do anything. (If you want to keep the event loop alive while waiting for a connection, ref the event in l_wifi_connect.