Bug 996869 - Join hidden network gives error.

After changing idl to webidl, network object should use MozWifiNetwork object instead.