iw: print out mesh configuration element on scan

Print out mesh configuration element which will be useful for
decision making whether to join or not join the mesh network.

Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
iw:  Support can_scan_one flag.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Fix compile on systems that don't have htole16.

Use htons and manual tweaking to get it right.

Signed-off-by: Ben Greear <greearb@candelatech.com>