Bug 996869 - Join hidden network gives error. r=crh0716

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