adds wifi events from js

Goes with https://github.com/tessel/wifi-cc3000/pull/1
Simplify this into a ternary `lua_pushnumber(L, hw_net_inuse() || tessel_wifi_is_connecting() ? 1 : 0);