Improve hwifi's main with parseable options

Now use parsing options.

Usage: hwifi [OPTION...] files...
 -V, -?        --version                   Show version number
 -a            --auto                      Standard auto-connect policy. This is the default behavior
 -s SSID       --ssid=SSID                 wifi SSID to connect to.
 -p <psk>      --psk=<psk>                 Pre-Shared Key to connect to the ssid.