Changed if_get_vlans into if_get_cfg
*The function now returns the interface flags , access_vlan and a bitmap of allowed vlans

Signed-off-by: Victor Duta <duta.victor.marin@gmail.com>