wireless-hostapd: set default ciphers used based on the wpa mode

Set the default ciphers used based on the WPA mode configured, as
certain wireless NICs have been reported to not function correctly
when configured with WPA2 and both CCMP and TKIP ciphers.  This sets
the default ciphers to be TKIP and CCMP when configured for WPA mode
(some WPA clients can use CCMP, most are limited to TKIP), CCMP and
TKIP when configured for both (allowing WPA and WPA2 clients, with
CCMP being suggested first to work round certain broken clients)
and finally CCMP only when configured for WPA2.  These default values
are only used if ciphers haven't been configured.

Bug #295 http://bugzilla.vyos.net/show_bug.cgi?id=295
Merge pull request #4 from cyclops8456/helium

Bug #295: wireless-hostapd: set default ciphers used based on the wpa mode