Bug 1021592 - Update wifi_test.js of Gaia unit tests to be compatible with WebIDL migration on Alarm API.

Bug 1021592 - Update wifi_test.js of Gaia unit tests to be compatible with WebIDL migration on Alarm API.