Bug 933192 - [Settings] can join hidden wifi network without ssid name r=ejchen

a)target:prevent from joining hidden wifi network if any of the  fields are not valid:1)the ssid name2)the user name 3)the password
b)scheme:
three js files are modified during the process:shared/js/wifi_helper.js, apps/ftu/js/ui.js, apps/settings/js/wifi.js,
1)in shared/js/wifi_helper.js:
Parameter ssid is added in function isValidInput
2)apps/ftu/js/ui.js:
beside 'password' text,we also add event listener  to 'ssid' and 'user name' text boxes .the above three listeners could listen for any changes happened in the three text boxes and then disable or enable the join button
3)apps/settings/js/wifi.js:
beside 'password' text,we also add event listener  to 'ssid' text box .the above two listeners could listen for any changes happened in the two text boxes and then disable or enable the ok button

I'm a little concerned putting the `password` check also in here.
Before, we didn't check for password validity in the case of `WPA-PSK - SIM` (line 124 - https://github.com/mozilla-b2g/gaia/pull/20434/files#diff-ab5b3e058b588be698076ff004c13143L124), which could mean that we didn't need to, or that we had a bug (sorry, I don't know the requirements for this specific case).
If we had a bug before, this code would solve it, so everything's fine.
But if we don't need to check password for the case, now we are gonna create a bug, where we return an error on a correct situation.

Have you tested this corner case?