Enable wildcards (*) in BSSID lists

In many context it seems suitable not just to enumerate a group of mac
addresses, but to use wildcards (ca:ff:ee:*:*:*).

This change expands the data structures used by mac lists to include a mask
indicating the significant (non-masked) portions of an address.